This commit is contained in:
@@ -33,10 +33,10 @@ jobs:
|
|||||||
VERSION=$(cat version.txt)
|
VERSION=$(cat version.txt)
|
||||||
if git show-ref --tags --quiet --verify "refs/tags/$VERSION"; then
|
if git show-ref --tags --quiet --verify "refs/tags/$VERSION"; then
|
||||||
echo "Tag '$VERSION' already exists."
|
echo "Tag '$VERSION' already exists."
|
||||||
echo "exists=true" > tag_exists.txt
|
echo true > tag_exists.txt
|
||||||
else
|
else
|
||||||
echo "Tag '$VERSION' does not exist yet."
|
echo "Tag '$VERSION' does not exist yet."
|
||||||
echo "exists=false" > tag_exists.txt
|
echo false > tag_exists.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Stop if version already released
|
- name: Stop if version already released
|
||||||
|
|||||||
Reference in New Issue
Block a user