Skip to content

Commit 6bc2b5b

Browse files
committed
Fix version autodetection when autoreleasing [skip ci]
1 parent 5f255a8 commit 6bc2b5b

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
@@ -37,6 +37,8 @@ do_release() {
3737
git tag -a $tag_name -m "$tag_name"
3838
git push --tags
3939
gh release create $tag_name --target $1 --title "$tag_name" --notes ""
40+
# now delete local tag to prevent messing up the detected tag for the next version
41+
git tag -d $tag_name &>/dev/null
4042
}
4143

4244
for version in "${all_versions[@]}"; do

0 commit comments

Comments
 (0)