Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cz bump dry-run modifies changelog #1023

Closed
ibevilinc opened this issue Mar 13, 2024 · 1 comment
Closed

cz bump dry-run modifies changelog #1023

ibevilinc opened this issue Mar 13, 2024 · 1 comment

Comments

@ibevilinc
Copy link

Description

Running cz bump with the --dry-run option causes the CHANGELOG.md file to be modified

Steps to reproduce

  1. Clone commitizen enabled repository that also has update_changelog_on_bump = true in configuration
  2. Run cz bump --dry-run --increment PATCH
  3. Notice that git now considers the changelog file as modified

Current behavior

Recent version of cz started to modify changelog even when called with --dry-run option

Desired behavior

cz bump called as --dry-run should not modify anything

Screenshots

No response

Environment

Commitizen Version: 3.18.3
Python Version: 3.12.2 (main, Feb 6 2024, 20:19:44) [Clang 15.0.0 (clang-1500.*******)]
Operating System: Darwin

@ibevilinc
Copy link
Author

Appears to be fixed with v3.18.4 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant