$ cz bump --help
usage: cz bump [-h][--dry-run][--files-only][--version-files-only]
[--local-version][--changelog][--no-verify][--yes]
[--tag-format TAG_FORMAT][--bump-message BUMP_MESSAGE]
[--prerelease {alpha,beta,rc}][--devrelease DEVRELEASE]
[--increment {MAJOR,MINOR,PATCH}]
[--increment-mode {linear,exact}][--check-consistency]
[--annotated-tag]
[--annotated-tag-message ANNOTATED_TAG_MESSAGE][--gpg-sign]
[--changelog-to-stdout][--git-output-to-stderr][--retry]
[--major-version-zero][--template TEMPLATE][--extra EXTRA]
[--file-name FILE_NAME][--prerelease-offset PRERELEASE_OFFSET]
[--version-scheme {pep440,semver,semver2}]
[--version-type {pep440,semver,semver2}]
[--build-metadata BUILD_METADATA][--get-next]
[--allow-no-commit]
[MANUAL_VERSION]
Bump semantic version based on the git log
positional arguments:
MANUAL_VERSION Bump to the given version (e.g., 1.5.3).
options:
-h, --help show this help message and exit
--dry-run Perform a dry run, without committing or modifying
files.
--files-only Bump version in the `version_files` specified in the
configuration file only(deprecated; use --version-
files-only instead).
--version-files-only Bump version in the files from the config
--local-version Bump version only the local version portion (ignoring
the public version).
--changelog, -ch Generate the changelog for the latest version.
--no-verify Bypass the pre-commit and commit-msg hooks.
--yes Accept automatically answered questions.
--tag-format TAG_FORMAT
The format used to tag the commit and read it. Use it
in existing projects, and wrap around simple quotes.
--bump-message BUMP_MESSAGE
Template used to create the release commit, useful
when working with CI.
--prerelease {alpha,beta,rc}, -pr {alpha,beta,rc}
Type of prerelease.
--devrelease DEVRELEASE, -d DEVRELEASE
Specify non-negative integer for dev release.
--increment {MAJOR,MINOR,PATCH}
Specify the desired increment.
--increment-mode {linear,exact}
Set the method by which the new version is chosen.
'linear'(default) resolves the next version based on
typical linear version progression, where bumping of a
pre-release with lower precedence than the current
pre-release phase maintains the current phase of
higher precedence. 'exact' applies the changes that
have been specified (or determined from the commit
log) without interpretation, ensuring the increment
and pre-release are always honored.
--check-consistency, -cc
Check consistency among versions defined in Commitizen
configuration file and `version_files`.
--annotated-tag, -at Create annotated tag instead of lightweight one.
--annotated-tag-message ANNOTATED_TAG_MESSAGE, -atm ANNOTATED_TAG_MESSAGE
Create annotated tag message.
--gpg-sign, -s Sign tag instead of lightweight one.
--changelog-to-stdout
Output changelog to stdout.
--git-output-to-stderr
Redirect git output to stderr.
--retry Retry commit if it fails for the first time.
--major-version-zero Keep major version at zero, even for breaking changes.
--template TEMPLATE, -t TEMPLATE
Changelog template file name (relative to the current
working directory).
--extra EXTRA, -e EXTRA
Changelog extra variables (in the form 'key=value').
--file-name FILE_NAME
File name of changelog (default: 'CHANGELOG.md').
--prerelease-offset PRERELEASE_OFFSET
Start pre-releases with this offset.
--version-scheme {pep440,semver,semver2}
Choose version scheme.
--version-type {pep440,semver,semver2}
Deprecated, use `--version-scheme` instead.
--build-metadata BUILD_METADATA
Add additional build-metadata to the version-number.
--get-next Determine the next version and write to stdout.
--allow-no-commit Bump version without eligible commits.