(fix): actually fix outdated tag recognition
All checks were successful
/ build-web (push) Successful in 1m13s
/ build-desktop (push) Successful in 12m1s
/ build-mobile (push) Successful in 16m47s
/ release (push) Successful in 22s

This commit is contained in:
Alois 2026-05-25 00:58:49 +02:00
commit be80e2f387

View file

@ -168,7 +168,7 @@ jobs:
test -d releases test -d releases
find releases -type f | grep -q . find releases -type f | grep -q .
LATEST_PROD_TAG="$(git tag --sort=-v:refname | head -n 1 || true)" LATEST_PROD_TAG="$(git for-each-ref refs/tags --sort=-creatordate --format='%(refname:short)' | awk '!/-/' | head -n 1 || true)"
if [ -n "$LATEST_PROD_TAG" ]; then if [ -n "$LATEST_PROD_TAG" ]; then
RAW_LOG="$(git log "$LATEST_PROD_TAG"..HEAD --pretty=format:'- %s')" RAW_LOG="$(git log "$LATEST_PROD_TAG"..HEAD --pretty=format:'- %s')"