We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac81729 commit ded3a95Copy full SHA for ded3a95
commitizen/commands/bump.py
@@ -198,8 +198,7 @@ def __call__(self): # noqa: C901
198
199
# If user specified changelog_to_stdout, they probably want the
200
# changelog to be generated as well, this is the most intuitive solution
201
- if not self.changelog and self.changelog_to_stdout:
202
- self.changelog = True
+ self.changelog = self.changelog or bool(self.changelog_to_stdout)
203
204
# No commits, there is no need to create an empty tag.
205
# Unless we previously had a prerelease.
0 commit comments