The --devrelease
option in cz bump
is not correctly incrementing the version
#1367
Labels
--devrelease
option in cz bump
is not correctly incrementing the version
#1367
Description
When executing
cz bump -d 1
while atx.y.z.dev0
, I got:My
pyproject.toml
has the following configuration:The issue seems to be with
update_changelog_on_bump = true
.When I set this option to
false
, it correctly increments the version to0.2.0.dev1
, but it doesn't update theCHANGELOG.md
.Steps to reproduce
Set the
pyproject.toml
file to look like the example above.The latest tag is
0.1.0
.feat: 2
cz bump -d 0
feat: 3
cz bump -d 1
(get an error)Current behavior
Received an error output:
No tag found to do an incremental changelog
Desired behavior
Upgrade the version to
0.2.0.dev1
and update theCHANGELOG.md
Screenshots
Step 1 + Step 2
Output
Step 3 + Step 4
Output
Environment
Commitizen Version: 4.4.1
Python Version: 3.13.2 (main, Feb 5 2025, 19:11:32) [Clang 19.1.6 ]
Operating System: Linux
The text was updated successfully, but these errors were encountered: