-
-
Notifications
You must be signed in to change notification settings - Fork 301
Closed
Labels
Description
Description
After each execution of the command cz bump --yes --changelog
, one new empty line is invariably added to the CHANGELOG.md
commitizen version
1.22.1
Steps to Reproduce
Steps to reproduce the behavior:
- Commit change
- Run
cz bump --yes --changelog
Expected Behavior
After each executing cz bump --yes --changelog
there is only one empty line at the beginning of the CHANGELOG.md
Actual Behavior
An empty line are added to the beginning of the CHANGELOG.md
after each execution cz bump --yes --changelog
More Information
This can also be seen here with blame - https://github.com/commitizen-tools/commitizen/blame/master/CHANGELOG.md
I assume this is because of the parameter:
commitizen/commitizen/commands/bump.py
Line 148 in 601bd29
"incremental": True, |
I can also reproduce this problem by running cz changelog --incremental