Skip to content

Commit 1bf64f9

Browse files
committed
Use annotated tags for releases [skip ci]
1 parent f77221d commit 1bf64f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/autorelease.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ do_release() {
2727
echo "we think the current tag is $(git describe --tags --abbrev=0)"
2828
echo "the current commit head is $(git rev-parse HEAD)"
2929
read -p "new tag name: " tag_name
30+
git tag -a $tag_name -m "$tag_name"
31+
git push --tags
3032
gh release create $tag_name --target $1 --title "$tag_name" --notes ""
3133
}
3234

0 commit comments

Comments
 (0)