We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fd0779 commit 9a0164cCopy full SHA for 9a0164c
commitizen/git.py
@@ -91,6 +91,9 @@ def tag(
91
if signed:
92
_opt = f"-s {tag} -m"
93
94
+ # according to https://git-scm.com/book/en/v2/Git-Basics-Tagging,
95
+ # we're not able to create lightweight tag with message.
96
+ # by adding message, we make it a annotated tags
97
c = cmd.run(f'git tag {_opt} "{tag if _opt == "" or msg is None else msg}"')
98
return c
99
0 commit comments