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 4c277ac commit 0fe2b83Copy full SHA for 0fe2b83
tests/utils.py
@@ -55,8 +55,8 @@ def get_current_branch() -> str:
55
return c.out
56
57
58
-def create_tag(tag: str):
59
- c = git.tag(tag)
+def create_tag(tag: str, message: str | None = None):
+ c = git.tag(tag, annotated=(message is not None), msg=message)
60
if c.return_code != 0:
61
raise exceptions.CommitError(c.err)
62
0 commit comments