From 3f5823013edbadafcf45be0a27acf97c3a262e42 Mon Sep 17 00:00:00 2001 From: Arlind Date: Mon, 9 Jun 2025 09:57:15 +0200 Subject: [PATCH] Update .gitea/workflows/deploy-ci.yaml --- .gitea/workflows/deploy-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy-ci.yaml b/.gitea/workflows/deploy-ci.yaml index f3560ee..88f7740 100644 --- a/.gitea/workflows/deploy-ci.yaml +++ b/.gitea/workflows/deploy-ci.yaml @@ -89,7 +89,7 @@ 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 + if [[ "$latest_tag" != "v1.0.0" ]]; then curl -sSL -X DELETE -H "Authorization: token $TOKEN" \ "$api/git/refs/tags/$latest_tag" || true fi