diff --git a/.github/workflows/types.yaml b/.github/workflows/types.yaml index dc3fe679..1d2f3dea 100644 --- a/.github/workflows/types.yaml +++ b/.github/workflows/types.yaml @@ -95,7 +95,7 @@ jobs: fi # Validate semver format - if [[ ! "$LATEST_TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-beta)?$ ]]; then + if [[ ! "$LATEST_TAG" =~ ^v?[0-9]+\.[0-9]+\.[0-9]+(-beta)?$ ]]; then echo "ERROR: Invalid version format: $LATEST_TAG (not a valid semver format)" exit 1 fi