We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3de4c4 commit f6d0210Copy full SHA for f6d0210
.github/workflows/release.yml
@@ -102,11 +102,10 @@ jobs:
102
git push origin ":refs/tags/$TAG_NAME" || true
103
echo "deleted=true" >> "$GITHUB_OUTPUT"
104
else
105
- echo "::warning::Tag $TAG_NAME already exists and does NOT point at origin/$TARGET_BRANCH."
106
- echo "Assuming this release has already been processed. Exiting without changes."
+ echo "::error::Tag $TAG_NAME already exists and does NOT point at origin/$TARGET_BRANCH."
+ echo "This may indicate a previous release attempt or conflicting tag."
107
echo "deleted=false" >> "$GITHUB_OUTPUT"
108
- # Exit the whole job successfully but skip further steps
109
- exit 0
+ exit 1
110
fi
111
112
echo "Tag $TAG_NAME does not exist yet – nothing to delete."
0 commit comments