fistbump - easy semver publishing
Installation:
pip install fistbump
Usage:
usage: fistbump [-h] [--minor] [--major] [--patch] [--pre] [--force] [--dry]
options:
-h, --help show this help message and exit
--minor Bump minor version
--major Bump major version
--patch Bump patch version
--pre Create a pre-release version. Changes will NOT be committed or tagged
--force Force the modifications even if working directory is not clean
--dry Dry run. Do not modify anything, just show what would be done
Problem
You want to create a git tag that is next version from previous git tag. You want to write the next version to any version.txt file you may have around, and also your pyproject.toml.
It's easy but it's boring, just running fistbump will do it for you.
Example session
❯ fistbump --minor
Current version: 1.1.0
New version: 1.2.0
######### File: pyproject.toml
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]
...
version = "1.2.0"
...
Proceed with changes and tagging? [y/N] y
Updating pyproject.toml
git add pyproject.toml
[main bbeb2c0] Bump version to 1.2.0
1 file changed, 1 insertion(+), 1 deletion(-)
All done!
Commands ran:
git add pyproject.toml
git commit -m Bump version to 1.2.0
git tag 1.2.0
Metadata
Release files for fistbump 1.5.0
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 |
|---|---|---|---|---|
| fistbump-1.5.0.tar.gz | 4.4 kB | Without provenance | Details for fistbump-1.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fistbump-1.5.0-py3-none-any.whl | Python 3 | none | any | Details for fistbump-1.5.0-py3-none-any.whl |
Total release size: 9.3 kB
Release files / fistbump-1.5.0.tar.gz
| Download URL | fistbump-1.5.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb2434018fb66952ea2177f4353a301056f1da580447fffe11a10e7cf95816cb
|
|
BLAKE2b-256 checksum How to use checksums |
36760c4f6e1fd3d7ddb5231400ebf3c1d039dd95de0bfc2cb0c8bf3ed8e05d7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.11
|
Release files / fistbump-1.5.0-py3-none-any.whl
| Download URL | fistbump-1.5.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e69f7646719588a1967f3a3ffaf41f79c22ab2e5622580dc60dbbc82331f5d8e
|
|
BLAKE2b-256 checksum How to use checksums |
85d11ce1171e4176c2fc31538eca13f9ebd60b4dff5273d85ab81ea6f40d2fcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.11
|
Security for fistbump 1.5.0
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.