Use annotated tags for releases [skip ci]

This commit is contained in:
embeddedt 2023-06-19 21:07:13 -04:00
parent f77221d6d8
commit 1bf64f9aa1
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -27,6 +27,8 @@ do_release() {
echo "we think the current tag is $(git describe --tags --abbrev=0)"
echo "the current commit head is $(git rev-parse HEAD)"
read -p "new tag name: " tag_name
git tag -a $tag_name -m "$tag_name"
git push --tags
gh release create $tag_name --target $1 --title "$tag_name" --notes ""
}