fix: list backend tags. oh boy

This commit is contained in:
2026-04-05 16:57:01 -03:00
committed by GitHub
parent 97d538ded8
commit fefe3439f4
+2 -2
View File
@@ -54,11 +54,11 @@ jobs:
backend_image="${{ github.event.inputs.backend_image }}"
frontend_image="${{ github.event.inputs.frontend_image }}"
latest_backend_tag="$(git tag --list 'v[0-9]*' | sort -V | tail -n1)"
latest_backend_tag="$(git tag --list '[0-9]*' | sort -V | tail -n1)"
latest_frontend_tag="$(git tag --list 'app-v*' | sort -V | tail -n1))"
if [ -z "$latest_backend_tag" ]; then
echo "No backend tag found matching v[0-9]*" >&2
echo "No backend tag found matching [0-9]*" >&2
exit 1
fi