Skip to content

Commit 3c716ab

Browse files
committed
Use annotated tags in version script
`git push --follow-tags` only pushes annotated tags
1 parent 9435f7a commit 3c716ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def update_version(part: str) -> str:
7171
def git_tag(version: str):
7272
cmd_exec(["git", "add", "."])
7373
cmd_exec(["git", "commit", "-m", f"v{version}"])
74-
cmd_exec(["git", "tag", f"v{version}"])
74+
cmd_exec(["git", "tag", "-a", f"v{version}", "-m", f"v{version}"])
7575

7676

7777
def main():

0 commit comments

Comments
 (0)