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