dont delete tag
All checks were successful
Update Community Skins README / Full CI/CD Pipeline (push) Successful in 7s

This commit is contained in:
Arlind
2025-06-20 13:40:22 +02:00
parent aa4b465c80
commit 8b5de9e810

View File

@@ -90,11 +90,6 @@ jobs:
latest_tag=$(curl -sSL --fail -H "Authorization: token $TOKEN" \
"$api/tags" | jq -r '.[0].name // empty')
if [[ -n "$latest_tag" && "$latest_tag" != "v1.0.0" ]]; then
curl -sSL -X DELETE -H "Authorization: token $TOKEN" \
"$api/tags/$latest_tag" || true
fi
url="$api/contents/$TEMPLATE_PATH"
sha=$(curl -sSL -H "Authorization: token $TOKEN" "$url" \
| jq -r 'select(.sha != null).sha // empty' || true)