Skip to main content

Bumping

Build Status license

Python tool to calculate SemVer based on conventional git commit messages.

Prerequisite

  • Python >= 3

Installation

pip install bumping

Usage

Execute bumping and the calculated version would be printed.

$ bumping
0.1.1

Assume the latest version is 0.5.1 and the version tag is v0.5.1 or 0.5.1, calculate the incremental version starting from the base revision with the following command, which is really useful for the situation where you didn't use SemVer in the previous versions and want to use it afterwards.

# Treat tag v0.5.1 as the base version, 
# calculate the incremental version number 
# and plus with 0.5.1.
bumping --base v0.5.1

# Treat master as the base version, version 
# number is 0.5.1, calculate the incremental version
# number and plus with 0.5.1.
bumping --base master --base-version 0.5.1

Changelog

0.5.1

New Features

  • add commit range options
  • use click to replace docopt

Fixes

  • add regex to parse_version
  • fix version calculating

0.3.0

New Features

  • add version calculating
  • add docopt
  • add project structure

Metadata

Release files for bumping 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bumping 0.5.2
File Size Uploaded
bumping-0.5.2.tar.gz 4.1 kB Details

Built distribution (wheel)

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

Total release size: 9.1 kB

Release files / bumping-0.5.2.tar.gz

Download URL bumping-0.5.2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4ec59b357b13200ea8fd2129967f97260d82cc76278d49be2c6421f155cb6a63
BLAKE2b-256 checksum
How to use checksums
8ca8540081a21549603567632634d5afae15b10ac7dbff673025675c1024fc3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.7

Release files / bumping-0.5.2-py3-none-any.whl

Download URL bumping-0.5.2-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db0e5694f84e149600bbddd9e27a2e6f357290d6ef7a9ee155d0275e2be7673a
BLAKE2b-256 checksum
How to use checksums
89346867ac52f1c3a0e4d7a4c0320fc55a075c4d7781ae81a2b498b38919929f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files

0.3.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