Closed
Description
Description
When i run cz bump
it fails unless i delete the CHANGELOG.md
generated by the last bump. While the version is bumped and all files are changed in regard to the version in there, the commit and tag isn't created
Steps to reproduce
- clone https://github.com/FactoryRally/game-controller
- checkout commit
45d5049d69ee6c0d3a5b879caa619d1cab58f575
- run
cz bump
- delete
CHANGELOG.md
- run
cz bump
again
Current behavior
nitonfx@laptop:/path/game-controller$ cz bump
bump: version 2.2.0b0 → 2.2.0
tag to create: v2.2.0
increment detected: MINOR
No tag found to do an incremental changelog
nitonfx@laptop:/path/game-controller$ rm CHANGELOG.md
nitonfx@laptop:/path/game-controller$ cz bump
bump: version 2.2.0b0 → 2.2.0
tag to create: v2.2.0
increment detected: MINOR
Done!
Desired behavior
A clearer message whats going wrong or it just working.
Environment
- commitizen version: 2.13.0
- python version: 2.7.17
- operating system: Linux