deploy-erosi.sh now runs `git describe --exact-match --tags HEAD` up front. When HEAD is not at a tag, prints a yellow warning and sleeps 5s so the operator can Ctrl-C and tag before the rsync starts (no abort — keeps untagged hotfix deploys possible). When a tag is present, surfaces it in the banner next to the SHA. `.deploys.log` gains a 4th tab-separated column: the tag (empty when absent). The 3-column compat for pre-Fase-17 rows is preserved — the rollback script's existing `cut -f1/-f2/-f3` keeps working, and `cut -f4` returns the empty string for the older rows. rollback-erosi.sh: - `--list` reformats each row through awk so the tag is visible (with "(no tag)" placeholder for older rows), falling back to the raw log when awk isn't on PATH. - The target banner shows `git tag: <tag>` when present. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
11 KiB
Executable File
11 KiB
Executable File