Fix version autodetection when autoreleasing [skip ci]

This commit is contained in:
embeddedt 2023-07-09 14:21:18 -04:00
parent 5f255a83dc
commit 6bc2b5b36e
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -37,6 +37,8 @@ do_release() {
git tag -a $tag_name -m "$tag_name"
git push --tags
gh release create $tag_name --target $1 --title "$tag_name" --notes ""
# now delete local tag to prevent messing up the detected tag for the next version
git tag -d $tag_name &>/dev/null
}
for version in "${all_versions[@]}"; do