Skip to main content

Bump your's release version.

Project description


Bump the version in your Supports direct incrementing as well as custom version numbers.


Tested on Python3+, probably works with Python2.

  • pip3 install versionbumpr


usage: [-h] [-b {major,minor,hotfix}] [-v V] [-d]

Bump your's release version.

positional arguments:
  path_to_setup_py      Path to your package's Required

optional arguments:
  -h, --help            show this help message and exit
  -b {major,minor,hotfix}
                        Type of version bump to perform. Defaults to "minor"
                        unless version (-v) is specified. 
  -v V                  The version number you want to bump your to.
  -d                    If this flag is provided, the autogenerated
                        [filename].old file will be deleted. Defaults to
Commandline args

-b: one of "major", "minor", "hotfix". Defaults to "minor", disregarded if -v is provided.

  • major: bump 1.0 to 2.0, 4.3 to 5.0, etc.
  • minor: bump 1.0 to 1.1, 4.3 to 4.4, etc.
  • hotfix: bump 1.0 to 1.0.1, 4.3.2 to 4.3.3, etc.

-v: Any version number you want. Blindly assumes that it's being provided a version string which conforms with Pypi's requirements.

-d: This script autogenerates a backup of the original input file, but with .old appended to the filename. If -d is passed, this backup file gets deleted instead of being left behind.

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

versionbumpr-1.0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

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