Skip to content

Commit ac81729

Browse files
LuisHenriLee-W
authored andcommitted
refactor(commands-bump): cast str to bool
1 parent 6bccbbf commit ac81729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitizen/commands/bump.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def __call__(self): # noqa: C901
367367
or bool(self.config.settings.get("gpg_sign", False)),
368368
annotated=self.bump_settings.get("annotated_tag", False)
369369
or bool(self.config.settings.get("annotated_tag", False))
370-
or self.bump_settings.get("annotated_tag_message", False),
370+
or bool(self.bump_settings.get("annotated_tag_message", False)),
371371
msg=self.bump_settings.get("annotated_tag_message", None),
372372
# TODO: also get from self.config.settings?
373373
)

0 commit comments

Comments
 (0)