style: auto-format from pre-push hooks
ci/woodpecker/push/amd64 Pipeline failed
ci/woodpecker/push/arm64 Pipeline failed

This commit is contained in:
Oleks
2026-06-04 22:49:50 +03:00
parent 55594fd632
commit 550c1d9f44
+4 -4
View File
@@ -29,10 +29,10 @@ log() { printf '\033[1;36m==>\033[0m %s\n' "$*"; }
# ── 0. Wipe prior unstable tags from gitea fork ───────────────────────────
cd "$GITEA_REPO"
log "Cleaning up previous unstable tags on gitea fork (so nix-update sees only clean semver tags)"
mapfile -t PREV_TAGS < <(git ls-remote --tags oleks 'refs/tags/v*-unstable-*' \
| awk '{print $2}' \
| sed 's|refs/tags/||;s|\^{}$||' \
| sort -u)
mapfile -t PREV_TAGS < <(git ls-remote --tags oleks 'refs/tags/v*-unstable-*' |
awk '{print $2}' |
sed 's|refs/tags/||;s|\^{}$||' |
sort -u)
for tag in "${PREV_TAGS[@]}"; do
[ -z "$tag" ] && continue
log " deleting $tag"