Skip to content

Commit

Permalink
infra: Create annotated tag instead of lightweight
Browse files Browse the repository at this point in the history
We want to use annotated tag because, first, it seems appropriate for
release tagging and second it will allow us to use
`git push --follow-tags`.

(cherry picked from commit ce70ff5)
  • Loading branch information
jkonecny12 committed Aug 5, 2024
1 parent f79a297 commit 7e8e32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/makebumpver
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ class MakeBumpVer:
# make the release commit
run_program(['git', 'commit', '-m', commit_message])
# tag the release
run_program(['git', 'tag', release_tag])
run_program(['git', 'tag', '-a', '-m', commit_message, release_tag])
# log the commit message & tag
log.info("commit message: %s", commit_message)
log.info("tag: %s", release_tag)
Expand Down

0 comments on commit 7e8e32c

Please sign in to comment.