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

Uploaded Source

Built Distribution

fistbump-1.4.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fistbump-1.4.1.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

Hashes for fistbump-1.4.1.tar.gz
Algorithm Hash digest
SHA256 0c9886f58b4f921f2092e4f0d705181f60504c641c07c670fc031d542a8feb1e
MD5 1f5db5996001eb8cfcccf857b9e12725
BLAKE2b-256 8bc4c77e03f8ab76020537ba1a2d2e27252ffdccc65c213bdad1793d5b714adc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fistbump-1.4.1-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

Hashes for fistbump-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d7c9e9c3d246c5cc74e8d347452df2414abf8ec2384cbed54acc1fa430357da
MD5 fddaef4bc6556c4523d6447fa8fe4589
BLAKE2b-256 1367459933aabb11a3f19ddc589dd93e61b890a5a6fcb53f802a8cbfcb51db0c

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