From 8b5de9e810d692a850e1c7e180c79fc183c63182 Mon Sep 17 00:00:00 2001 From: Arlind Date: Fri, 20 Jun 2025 13:40:22 +0200 Subject: [PATCH] dont delete tag --- .gitea/workflows/deploy-ci.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.gitea/workflows/deploy-ci.yaml b/.gitea/workflows/deploy-ci.yaml index 629f14c..e7c8de5 100644 --- a/.gitea/workflows/deploy-ci.yaml +++ b/.gitea/workflows/deploy-ci.yaml @@ -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)