From 753620e0e02169b40f53295296bbc0a0500ae37f Mon Sep 17 00:00:00 2001 From: Arlind Sulejmani Date: Sun, 8 Jun 2025 14:18:01 +0200 Subject: [PATCH] Update .gitea/workflows/deploy-ci.yaml --- .gitea/workflows/deploy-ci.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy-ci.yaml b/.gitea/workflows/deploy-ci.yaml index 60e9a81..239c69a 100644 --- a/.gitea/workflows/deploy-ci.yaml +++ b/.gitea/workflows/deploy-ci.yaml @@ -97,7 +97,7 @@ jobs: if ! git diff --cached --quiet; then latest_tag=$(git describe --tags --abbrev=0 2>/dev/null || true) - if [ -n "$latest_tag" ]; then + if [ -n "$latest_tag" ] && [ "$latest_tag" != "v1.0.0" ]; then git push origin --delete tag "$latest_tag" >/dev/null 2>&1 || true git tag -d "$latest_tag" >/dev/null 2>&1 || true fi @@ -116,3 +116,11 @@ jobs: done < "$valid_repos_file" rm "$valid_repos_file" + + rm -rf "$tmpdir" + echo " ✓ Completed $owner/$repo" + + repo_counter=$((repo_counter + 1)) + done < "$valid_repos_file" + + rm "$valid_repos_file"