Version-bump your software with a single command
Project description
bump-version-pep440
Introduction: This project is heavily inspired by bumpversion, yet this is a different package with a different approach and design.
Usage
Quick Start
poetry add bump-version-pep440
CLI Usage
❯ poetry run bv --help
Usage: bv [OPTIONS] VERSION_TYPE
Bump the version based on the provided version type and other parameters.
╭─ Arguments ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * version_type TEXT [default: None] [required] │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --current-version -c TEXT Current version to be used instead of reading from pyproject.toml. [default: None] │
│ --new-version -n TEXT New version to be set instead of incrementing the current version. [default: None] │
│ --commit If set, a git commit will be created. [default: True] │
│ --commit-message TEXT Custom commit message. [default: None] │
│ --dry-run If set, no actual changes will be made, only printed. │
│ --tag If set, a git tag will be created. [default: True] │
│ --tag-name TEXT Custom tag name. [default: None] │
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Branching Strategy
main
: The main branch. This branch is protected and cannot be pushed directly. (PRs must be made todev
instead ofmain
)dev
: The development branch. This branch is protected and cannot be pushed directly. (PRs must be made to this branch)feature/*
: The 'feature/*' branches are used to develop new features for the upcoming or a distant future release. These branches are branched off from 'dev' and must merge back intodev
.release/*
: The 'release/*' branches are used to prepare the next release. They allow for last-minute changes and minor bug fixes. These branches are branched off from 'dev' and must merge back intomain
anddev
.hotfix/*
: The 'hotfix/*' branches are used to develop fixes for the current release. These branches are branched off frommain
and must merge back intomain
.
Contributing
Contributions are always welcome! Whether it's bug reports, feature requests, or pull requests, all contributions are appreciated. For more details, see CONTRIBUTING.md.
License
This project is licensed under some License. For more details, see LICENSE.
Code of Conduct
We believe in fostering an inclusive and respectful community. For guidelines and reporting information, see CODE_OF_CONDUCT.md.
Security
Your security is paramount. If you discover any security-related issues, please follow the guidelines in SECURITY.md.
Founding
For information about the project's founding and backers, see FOUNDING.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bump_version_pep440-0.0.4.post1.tar.gz
.
File metadata
- Download URL: bump_version_pep440-0.0.4.post1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2645b4aef1eb2f3c7319492d45fcfe901609f04b27d432e1b42bf2da66126d33 |
|
MD5 | 6e04657c51e40165cb21ab5f68553803 |
|
BLAKE2b-256 | 1d2897c6d49d4efc4438e664a4c2cf491bf628a8df719556553bc65d02df9916 |
File details
Details for the file bump_version_pep440-0.0.4.post1-py3-none-any.whl
.
File metadata
- Download URL: bump_version_pep440-0.0.4.post1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41a6e23c90b7f51ac1ae9a3302cd73f7757f4b34652f995c9bb4b0040af84f83 |
|
MD5 | be019fa11068c466928e0f6856f37dfa |
|
BLAKE2b-256 | 56fc02d9fac4010ada9e2e4af742e34c858771c86676e55a25d61ff930a83597 |