Bumping
Python tool to calculate SemVer based on conventional git commit messages.
Prerequisite
- Python >= 3
Installation
pip install bumping
Usage
Execute bumping and the calculated version would be printed.
$ bumping
0.1.1
Assume the latest version is 0.5.1 and the version tag is v0.5.1 or 0.5.1, calculate the incremental version starting from the base revision with the following command, which is really useful for the situation where you didn't use SemVer in the previous versions and want to use it afterwards.
# Treat tag v0.5.1 as the base version,
# calculate the incremental version number
# and plus with 0.5.1.
bumping --base v0.5.1
# Treat master as the base version, version
# number is 0.5.1, calculate the incremental version
# number and plus with 0.5.1.
bumping --base master --base-version 0.5.1
Changelog
0.5.1
New Features
- add commit range options
- use click to replace docopt
Fixes
- add regex to parse_version
- fix version calculating
0.3.0
New Features
- add version calculating
- add docopt
- add project structure
Metadata
Release files for bumping 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bumping-0.5.2.tar.gz | 4.1 kB | Without provenance | Details for bumping-0.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bumping-0.5.2-py3-none-any.whl | Python 3 | none | any | Details for bumping-0.5.2-py3-none-any.whl |
Total release size: 9.1 kB
Release files / bumping-0.5.2.tar.gz
| Download URL | bumping-0.5.2.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ec59b357b13200ea8fd2129967f97260d82cc76278d49be2c6421f155cb6a63
|
|
BLAKE2b-256 checksum How to use checksums |
8ca8540081a21549603567632634d5afae15b10ac7dbff673025675c1024fc3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.7
|
Release files / bumping-0.5.2-py3-none-any.whl
| Download URL | bumping-0.5.2-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db0e5694f84e149600bbddd9e27a2e6f357290d6ef7a9ee155d0275e2be7673a
|
|
BLAKE2b-256 checksum How to use checksums |
89346867ac52f1c3a0e4d7a4c0320fc55a075c4d7781ae81a2b498b38919929f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.7
|
Security for bumping 0.5.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.