Commit 9377d32
committed
fix(bump): manual version bump if prerelease offset is configured
If you use the prerelase offset in the .cz.toml, as in the following
example, no bump with a manual version number is possible.
The error occurs when bumping with manual version number:
cz bump 9.8.7
--prerelease-offset cannot be combined with MANUAL_VERSION
```toml
[tool.commitizen]
changelog_incremental = true
tag_format = "v$version"
update_changelog_on_bump = true
version = "1.2.0b13"
prerelease_offset = 1
```1 parent 43ee8a0 commit 9377d32
2 files changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | 190 | | |
196 | 191 | | |
197 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
| 602 | + | |
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
| |||
0 commit comments