diff --git a/.github/workflows/build-git-installers.yml b/.github/workflows/build-git-installers.yml index dc5e245db79777..67f1ed2489a75c 100644 --- a/.github/workflows/build-git-installers.yml +++ b/.github/workflows/build-git-installers.yml @@ -17,7 +17,7 @@ jobs: - name: Validate tag run: | echo "$GITHUB_REF" | - grep '^refs/tags/v2\.\(0\|[1-9][0-9]*\)\.\(0\|[1-9][0-9]*\)\.vfs\.0\.\(0\|[1-9][0-9]*\)$' || { + grep -E '^refs/tags/v2\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.vfs\.0\.(0|[1-9][0-9]*)(-[a-z0-9]+)?$' || { echo "::error::${GITHUB_REF#refs/tags/} is not of the form v2...vfs.0." >&2 exit 1 }