style: auto-format from pre-push hooks
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user