fix: missing 'v'
All checks were successful
Update Traefik Version / update-version (pull_request) Successful in 3m22s
All checks were successful
Update Traefik Version / update-version (pull_request) Successful in 3m22s
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
||||
working-directory: ansible_role_proxy
|
||||
run: |
|
||||
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'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user