From f9bcc32f8ab9a0d75b34dfdeb65706aa08a9c92d Mon Sep 17 00:00:00 2001 From: Victoria Dye Date: Wed, 8 Nov 2023 11:58:40 -0800 Subject: [PATCH] fixup! release: create initial Windows installer build workflow Loosen the prereqs step enough to allow "-" pre-release tags (e.g. "-rc0"). Also switch to 'grep -E' to avoid needing to escape so many things. --- .github/workflows/build-git-installers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }