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"