Skip to main content

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

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)

Source distribution for fistbump 1.5.0
File Size Uploaded
fistbump-1.5.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fistbump 1.5.0
File Interpreter ABI Platform
fistbump-1.5.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page