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

Uploaded Source

Built Distribution

fistbump-1.3.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fistbump-1.3.0.tar.gz
Algorithm Hash digest
SHA256 49f979d490d5cbb3f1268e58997ea7cc943ef118473d47c8188a878ecb5556ea
MD5 1e11cc50433092b5fee71add2ee9f6ba
BLAKE2b-256 8c54dd960aaffad3ee93ff728356433f7d2e604f0d675fbf36c56e93babc9e76

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fistbump-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 920e12bcd3c733b831fb685864eb339ab71566e918637cc76cfb2908730925fe
MD5 51e4c7d7764f5504f3b09a17102ad91a
BLAKE2b-256 0b0f0037a713c9113bd0e225954995641c6b9d9e5a829d8e1493ce579020dde3

See more details on using hashes here.

Supported by

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