Update push-node-status-api.yaml

This commit is contained in:
Mark Sinclair
2025-07-11 11:30:26 +01:00
committed by GitHub
parent d1660c01e6
commit e32df10b4d
+5 -3
View File
@@ -52,9 +52,11 @@ jobs:
- name: Remove existing tag if exists
run: |
if git rev-parse $GIT_TAG >/dev/null 2>&1; then
git push --delete origin $GIT_TAG
git tag -d $GIT_TAG
if git rev-parse "$GIT_TAG" >/dev/null 2>&1; then
echo "Tag $GIT_TAG already exists, deleting"
git push --delete origin "$GIT_TAG"
git tag -d "$GIT_TAG"
echo "Tag $GIT_TAG already exists, deleted"
fi
- name: Create tag