fistbump
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fistbump-1.4.0.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file fistbump-1.4.0.tar.gz
.
File metadata
- Download URL: fistbump-1.4.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 141e40094d2dd07fd370ee30f2f9bec95d9a0268795259be6b5eb5736015cd8d |
|
MD5 | cbf1314f6691040e7e32dc7ffaafe980 |
|
BLAKE2b-256 | a16d558d540fe9cd79d78fc6fcbd889ab05e28c25fcdb3070540744aa3d54cdf |
File details
Details for the file fistbump-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: fistbump-1.4.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a97db6fd5601baadbc795c6219e870936d7ad8e2282aedb64fd935abf7ab83ec |
|
MD5 | 03180d9092fafe4b738ac84f7ae6e1e1 |
|
BLAKE2b-256 | 991614bcfe61f9862efd9cc7233ce4533d0d3de24cea577d04bb2c4f4b445263 |