@@ -54,32 +54,30 @@ Some examples:
54
54
55
55
``` bash
56
56
$ cz bump --help
57
- usage: cz bump [-h] [--dry-run] [--files-only] [--changelog] [--no-verify]
58
- [--yes] [--tag-format TAG_FORMAT] [--bump-message BUMP_MESSAGE]
59
- [--prerelease {alpha,beta,rc}]
60
- [--increment {MAJOR,MINOR,PATCH}] [--check-consistency]
57
+ usage: cz bump [-h] [--dry-run] [--files-only] [--changelog] [--no-verify] [--yes]
58
+ [--tag-format TAG_FORMAT] [--bump-message BUMP_MESSAGE] [--prerelease {alpha,beta,rc}]
59
+ [--increment {MAJOR,MINOR,PATCH}] [--check-consistency] [--annotated-tag]
61
60
62
61
optional arguments:
63
62
-h, --help show this help message and exit
64
63
--dry-run show output to stdout, no commit, no modified files
65
64
--files-only bump version in the files from the config
66
65
--changelog, -ch generate the changelog for the newest version
67
- --no-verify this option bypasses the pre-commit and commit-msg
68
- hooks
66
+ --no-verify this option bypasses the pre-commit and commit-msg hooks
69
67
--yes accept automatically questions done
70
68
--tag-format TAG_FORMAT
71
- the format used to tag the commit and read it, use it
72
- in existing projects, wrap around simple quotes
69
+ the format used to tag the commit and read it, use itin existing projects, wrap
70
+ around simple quotes
73
71
--bump-message BUMP_MESSAGE
74
- template used to create the release commit, useful
75
- when working with CI
72
+ template used to create the release commit, useful when working with CI
76
73
--prerelease {alpha,beta,rc}, -pr {alpha,beta,rc}
77
74
choose type of prerelease
78
75
--increment {MAJOR,MINOR,PATCH}
79
76
manually specify the desired increment
80
77
--check-consistency, -cc
81
- check consistency among versions defined in commitizen
82
- configuration and version_files
78
+ check consistency among versions defined in commitizen configuration and
79
+ version_files
80
+ --annotated-tag, -at create annotated tag instead of lightweight one
83
81
```
84
82
85
83
### ` --changelog `
@@ -216,6 +214,15 @@ Some examples
216
214
bump_message = " release $current_version → $new_version [skip-ci]"
217
215
```
218
216
217
+ ### ` annotated_tag `
218
+
219
+ Whether to create annotated tags or lightweight ones.
220
+
221
+ ``` toml
222
+ [tool .commitizen ]
223
+ annotated_tag = true
224
+ ```
225
+
219
226
## Custom bump
220
227
221
228
Read the [ customizing section] ( ./customization.md ) .
0 commit comments