fix: missing 'v'
All checks were successful
Update Traefik Version / update-version (pull_request) Successful in 3m22s

This commit is contained in:
2026-04-09 15:08:26 -03:00
parent 042324c00a
commit 0693734d0a

View File

@@ -27,7 +27,7 @@ jobs:
working-directory: ansible_role_proxy working-directory: ansible_role_proxy
run: | run: |
LATEST=$(curl -sf https://api.github.com/repos/traefik/traefik/releases/latest | jq -r '.tag_name') LATEST=$(curl -sf https://api.github.com/repos/traefik/traefik/releases/latest | jq -r '.tag_name')
if ! [[ "$LATEST" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then if ! [[ "$LATEST" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "::error::Refusing to bump to non-stable version '$LATEST'" echo "::error::Refusing to bump to non-stable version '$LATEST'"
exit 1 exit 1
fi fi