You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remember to use the tag instead of the raw version number
97
-
98
-
For example if the format of your tag includes a `v` (`v1.0.0`), then you should use that,
99
-
if your tag is the same as the raw version, then ignore this.
100
-
101
-
Alternatively you can directly bump the version and create the changelog by doing
102
-
103
-
```bash
104
-
cz bump --changelog
105
-
```
78
+
See [the template customization section](../customization.md#customizing-the-changelog-template)
106
79
107
-
### `file-name`
80
+
### `--file-name`
108
81
109
-
This value can be updated in the `toml` file with the key `changelog_file` under `tools.commitizen`
82
+
This value can be updated in the configuration file with the key `changelog_file` under `tools.commitizen`
110
83
111
84
Specify the name of the output file, remember that changelog only works with Markdown.
112
85
113
86
```bash
114
87
cz changelog --file-name="CHANGES.md"
115
88
```
116
89
117
-
### `incremental`
90
+
### `--incremental`
118
91
119
-
This flag can be set in the `toml` file with the key `changelog_incremental` under `tools.commitizen`
92
+
This flag can be set in the configuration file with the key `changelog_incremental` under `tools.commitizen`
120
93
121
94
Benefits:
122
95
@@ -134,9 +107,9 @@ cz changelog --incremental
134
107
changelog_incremental = true
135
108
```
136
109
137
-
### `start-rev`
110
+
### `--start-rev`
138
111
139
-
This value can be set in the `toml` file with the key `changelog_start_rev` under `tools.commitizen`
112
+
This value can be set in the configuration file with the key `changelog_start_rev` under `tools.commitizen`
140
113
141
114
Start from a given git rev to generate the changelog. Commits before that rev will not be considered. This is especially useful for long-running projects adopting conventional commits, where old commit messages might fail to be parsed for changelog generation.
This flag can be set in the `toml` file with the key `changelog_merge_prerelease` under `tools.commitizen`
128
+
This flag can be set in the configuration file with the key `changelog_merge_prerelease` under `tools.commitizen`
156
129
157
130
Collects changes from prereleases into the next non-prerelease. This means that if you have a prerelease version, and then a normal release, the changelog will show the prerelease changes as part of the changes of the normal release. If not set, it will include prereleases in the changelog.
0 commit comments