Fix version autodetection when autoreleasing [skip ci]
This commit is contained in:
parent
5f255a83dc
commit
6bc2b5b36e
|
|
@ -37,6 +37,8 @@ do_release() {
|
||||||
git tag -a $tag_name -m "$tag_name"
|
git tag -a $tag_name -m "$tag_name"
|
||||||
git push --tags
|
git push --tags
|
||||||
gh release create $tag_name --target $1 --title "$tag_name" --notes ""
|
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
|
for version in "${all_versions[@]}"; do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user