|
1 | | -usage: cz bump [-h] [--dry-run] [--files-only] [--local-version] [--changelog] |
2 | | - [--no-verify] [--yes] [--tag-format TAG_FORMAT] |
3 | | - [--bump-message BUMP_MESSAGE] [--prerelease {alpha,beta,rc}] |
4 | | - [--devrelease DEVRELEASE] [--increment {MAJOR,MINOR,PATCH}] |
5 | | - [--increment-mode {linear,exact}] [--check-consistency] |
6 | | - [--annotated-tag] |
7 | | - [--annotated-tag-message ANNOTATED_TAG_MESSAGE] [--gpg-sign] |
8 | | - [--changelog-to-stdout] [--git-output-to-stderr] [--retry] |
9 | | - [--major-version-zero] [--template TEMPLATE] [--extra EXTRA] |
10 | | - [--file-name FILE_NAME] [--prerelease-offset PRERELEASE_OFFSET] |
11 | | - [--version-scheme {pep440,semver,semver2}] |
12 | | - [--version-type {pep440,semver,semver2}] |
13 | | - [--build-metadata BUILD_METADATA] [--get-next] |
14 | | - [--allow-no-commit] |
| 1 | +usage: cz bump [-h] [--dry-run] [--files-only] [--local-version] [--changelog] [--no-verify] [--yes] [--tag-format TAG_FORMAT] [--bump-message BUMP_MESSAGE] [--prerelease {alpha,beta,rc}] [--devrelease DEVRELEASE] |
| 2 | + [--increment {MAJOR,MINOR,PATCH}] [--increment-mode {linear,exact}] [--check-consistency] [--annotated-tag] [--annotated-tag-message ANNOTATED_TAG_MESSAGE] [--gpg-sign] [--changelog-to-stdout] |
| 3 | + [--git-output-to-stderr] [--retry] [--major-version-zero] [--template TEMPLATE] [--extra EXTRA] [--file-name FILE_NAME] [--prerelease-offset PRERELEASE_OFFSET] |
| 4 | + [--version-scheme {pep440,semver,semver2}] [--version-type {pep440,semver,semver2}] [--build-metadata BUILD_METADATA] [--get-next] [--allow-no-commit] |
15 | 5 | [MANUAL_VERSION] |
16 | 6 |
|
17 | | -bump semantic version based on the git log |
| 7 | +Bump semantic version based on the git log |
18 | 8 |
|
19 | 9 | positional arguments: |
20 | | - MANUAL_VERSION bump to the given version (e.g: 1.5.3) |
| 10 | + MANUAL_VERSION Bump to the specified version (e.g: 1.5.3) |
21 | 11 |
|
22 | 12 | options: |
23 | 13 | -h, --help show this help message and exit |
24 | | - --dry-run show output to stdout, no commit, no modified files |
25 | | - --files-only bump version in the files from the config |
26 | | - --local-version bump only the local version portion |
27 | | - --changelog, -ch generate the changelog for the newest version |
28 | | - --no-verify this option bypasses the pre-commit and commit-msg |
29 | | - hooks |
30 | | - --yes accept automatically questions done |
| 14 | + --dry-run Show output to stdout, no commit, no modified files |
| 15 | + --files-only Bump version in the files from the config |
| 16 | + --local-version Bump only the local version portion |
| 17 | + --changelog, -ch Generate the changelog for the newest version |
| 18 | + --no-verify Bypass the pre-commit and commit-msg hooks |
| 19 | + --yes Accept automatically questions done |
31 | 20 | --tag-format TAG_FORMAT |
32 | | - the format used to tag the commit and read it, use it |
33 | | - in existing projects, wrap around simple quotes |
| 21 | + The format used to tag the commit and read it, use it in existing projects, wrap around simple quotes |
34 | 22 | --bump-message BUMP_MESSAGE |
35 | | - template used to create the release commit, useful |
36 | | - when working with CI |
| 23 | + Template for creating the release commit message, useful in CI/CD pipelines |
37 | 24 | --prerelease, -pr {alpha,beta,rc} |
38 | | - choose type of prerelease |
| 25 | + Choose the type of prerelease |
39 | 26 | --devrelease, -d DEVRELEASE |
40 | | - specify non-negative integer for dev. release |
| 27 | + Specify a non-negative integer for dev. release |
41 | 28 | --increment {MAJOR,MINOR,PATCH} |
42 | | - manually specify the desired increment |
| 29 | + Specify a desired increment |
43 | 30 | --increment-mode {linear,exact} |
44 | | - set the method by which the new version is chosen. |
45 | | - 'linear' (default) guesses the next version based on |
46 | | - typical linear version progression, such that bumping |
47 | | - of a pre-release with lower precedence than the |
48 | | - current pre-release phase maintains the current phase |
49 | | - of higher precedence. 'exact' applies the changes that |
50 | | - have been specified (or determined from the commit |
51 | | - log) without interpretation, such that the increment |
52 | | - and pre-release are always honored |
| 31 | + Set the method by which the new version is chosen. 'linear' (default) resolves the next version by following typical linear version progression, ensuring that bumping a pre-release with lower |
| 32 | + precedence than the current pre-release phase keeps the current phase of higher precedence. 'exact' applies the changes that have been specified (or determined from the commit log) without |
| 33 | + interpretation, ensuring that the increment and pre-release are always honored |
53 | 34 | --check-consistency, -cc |
54 | | - check consistency among versions defined in commitizen |
55 | | - configuration and version_files |
56 | | - --annotated-tag, -at create annotated tag instead of lightweight one |
| 35 | + Check consistency among versions defined in `version_files` |
| 36 | + --annotated-tag, -at Create an annotated tag instead of a lightweight one |
57 | 37 | --annotated-tag-message, -atm ANNOTATED_TAG_MESSAGE |
58 | | - create annotated tag message |
59 | | - --gpg-sign, -s sign tag instead of lightweight one |
| 38 | + Create an annotated tag message |
| 39 | + --gpg-sign, -s Sign the tag instead of a lightweight one |
60 | 40 | --changelog-to-stdout |
61 | | - Output changelog to the stdout |
| 41 | + Output the changelog to the stdout |
62 | 42 | --git-output-to-stderr |
63 | | - Redirect git output to stderr |
64 | | - --retry retry commit if it fails the 1st time |
65 | | - --major-version-zero keep major version at zero, even for breaking changes |
| 43 | + Redirect Git output to stderr |
| 44 | + --retry Retry the commit after first failure |
| 45 | + --major-version-zero Keep the major version at zero, even for breaking changes |
66 | 46 | --template, -t TEMPLATE |
67 | | - changelog template file name (relative to the current |
68 | | - working directory) |
| 47 | + changelog template file name (relative to the current working directory) |
69 | 48 | --extra, -e EXTRA a changelog extra variable (in the form 'key=value') |
70 | 49 | --file-name FILE_NAME |
71 | | - file name of changelog (default: 'CHANGELOG.md') |
| 50 | + File name of the changelog (default: 'CHANGELOG.md') |
72 | 51 | --prerelease-offset PRERELEASE_OFFSET |
73 | | - start pre-releases with this offset |
| 52 | + Start pre-releases with this offset |
74 | 53 | --version-scheme {pep440,semver,semver2} |
75 | | - choose version scheme |
| 54 | + Choose the version scheme |
76 | 55 | --version-type {pep440,semver,semver2} |
77 | | - Deprecated, use --version-scheme instead |
| 56 | + Deprecated, use `--version-scheme` instead |
78 | 57 | --build-metadata BUILD_METADATA |
79 | | - Add additional build-metadata to the version-number |
80 | | - --get-next Determine the next version and write to stdout |
81 | | - --allow-no-commit bump version without eligible commits |
| 58 | + Add additional build-metadata to the version number |
| 59 | + --get-next Output the next version to stdout |
| 60 | + --allow-no-commit Bump the version even when there are no eligible commits |
0 commit comments