Skip to main content

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.5.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fistbump-1.5.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file fistbump-1.5.0.tar.gz.

File metadata

  • Download URL: fistbump-1.5.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for fistbump-1.5.0.tar.gz
Algorithm Hash digest
SHA256 bb2434018fb66952ea2177f4353a301056f1da580447fffe11a10e7cf95816cb
MD5 12781d281d817a3752ced3f8250dbc97
BLAKE2b-256 36760c4f6e1fd3d7ddb5231400ebf3c1d039dd95de0bfc2cb0c8bf3ed8e05d7a

See more details on using hashes here.

File details

Details for the file fistbump-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: fistbump-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for fistbump-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e69f7646719588a1967f3a3ffaf41f79c22ab2e5622580dc60dbbc82331f5d8e
MD5 755d87969f62ef101d6242581ed263e8
BLAKE2b-256 85d11ce1171e4176c2fc31538eca13f9ebd60b4dff5273d85ab81ea6f40d2fcf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page