Update .gitea/workflows/deploy-ci.yaml
All checks were successful
Update Community Skins README / Full CI/CD Pipeline (push) Successful in 4s
All checks were successful
Update Community Skins README / Full CI/CD Pipeline (push) Successful in 4s
This commit is contained in:
@@ -97,7 +97,7 @@ jobs:
|
|||||||
|
|
||||||
if ! git diff --cached --quiet; then
|
if ! git diff --cached --quiet; then
|
||||||
latest_tag=$(git describe --tags --abbrev=0 2>/dev/null || true)
|
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 push origin --delete tag "$latest_tag" >/dev/null 2>&1 || true
|
||||||
git tag -d "$latest_tag" >/dev/null 2>&1 || true
|
git tag -d "$latest_tag" >/dev/null 2>&1 || true
|
||||||
fi
|
fi
|
||||||
@@ -116,3 +116,11 @@ jobs:
|
|||||||
done < "$valid_repos_file"
|
done < "$valid_repos_file"
|
||||||
|
|
||||||
rm "$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"
|
||||||
|
|||||||
Reference in New Issue
Block a user