ci: tolerate 404 on release-tag existence check (set -e safety)
release / release (push) Successful in 3s

This commit is contained in:
2026-05-25 11:57:40 +02:00
parent 84f045c724
commit 737361a29e
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
run: |
set -euo pipefail
# Create the release (or reuse if it already exists for this tag).
RID=$(curl -sf -H "Authorization: token $GITEA_TOKEN" \
RID=$(curl -s -H "Authorization: token $GITEA_TOKEN" \
"$API/repos/$REPO/releases/tags/$TAG" 2>/dev/null \
| jq -r '.id // empty')
if [ -z "$RID" ]; then