DOKK / manpages / debian 10 / bumpversion / bumpversion.1.en

bumpversion - Version-bump your software

usage: bumpversion [-h] [--config-file FILE] [--verbose] [--list]

[--allow-dirty] [--parse REGEX] [--serialize FORMAT] [--search SEARCH] [--replace REPLACE] [--current-version VERSION] [--dry-run] --new-version VERSION [--commit | --no-commit] [--tag | --no-tag] [--sign-tags | --no-sign-tags] [--tag-name TAG_NAME] [--tag-message TAG_MESSAGE] [--message COMMIT_MSG] part [file [file ...]]

bumpversion: v0.5.10 (using Python v3.7.2+)

Part of the version to be bumped.
Files to change (default: [])

show this help message and exit
Config file to read most of the variables from (default: .bumpversion.cfg)
Print verbose logging to stderr (default: 0)
List machine readable information (default: False)
Don't abort if working directory is dirty (default: False)
Regex parsing the version string (default: (?P<major>\ d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z ]+))?)
How to format what is parsed back to a version (default: ['{major}.{minor}.{patch}-{release}', '{major}.{minor}.{patch}'])
Template for complete string to search (default: {current_version})
Template for complete string to replace (default: {new_version})
Version that needs to be updated (default: 0.5.10)
Don't write any files, just pretend. (default: False)
New version that should be in the files (default: None)
Commit to version control (default: True)
Do not commit to version control
Create a tag in version control (default: True)
Do not create a tag in version control
Sign tags if created (default: False)
Do not sign tags if created
Tag name (only works with --tag) (default: v{new_version})
Tag message (default: Bump version: {current_version} ??? {new_version})
Commit message (default: Bump version: {current_version} ??? {new_version})

The full documentation for bumpversion is maintained as a Texinfo manual. If the info and bumpversion programs are properly installed at your site, the command

info bumpversion

should give you access to the complete manual.

March 2019 bumpversion 0.5.10