-
-
Notifications
You must be signed in to change notification settings - Fork 304
Closed
Description
Description
In my situation there may be missing version tags for various reasons.
If the version in .cz.yaml is higher than the tag, it works just fine with a normal cz bump --yes
However, if I use: cz bump --yes --changelog it fails with the message No tag found to do an incremental changelog
If I delete the changelog then rerun it works fine.
It would be great to just have a flag which handles this, for example --overwrite-changelog or something like that.
Steps to reproduce
- Delete a local tag for a previous version after you have generated a changelog
- Update the version manually in the .cz.yaml file
- cz bump --changelog
Current behavior
No tag found to do an incremental changelog
Desired behavior
Flag to not fail on this error
Screenshots
No response
Environment
- commitizen version: 2.27.1