Skip to content

Commit 3f0dcb0

Browse files
committed
fixup! release: create initial Windows installer build workflow
Loosen the prereqs step enough to allow ".rc<N>" pre-release tags (e.g. ".rc0"). Also switch to 'grep -E' to avoid needing to escape so many things.
1 parent 289cef5 commit 3f0dcb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-git-installers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
- name: Validate tag
1818
run: |
1919
echo "$GITHUB_REF" |
20-
grep '^refs/tags/v2\.\(0\|[1-9][0-9]*\)\.\(0\|[1-9][0-9]*\)\.vfs\.0\.\(0\|[1-9][0-9]*\)$' || {
21-
echo "::error::${GITHUB_REF#refs/tags/} is not of the form v2.<X>.<Y>.vfs.0.<W>" >&2
20+
grep -E '^refs/tags/v2\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.vfs\.0\.(0|[1-9][0-9]*)(\.rc[0-9])?$' || {
21+
echo "::error::${GITHUB_REF#refs/tags/} is not of the form v2.<X>.<Y>.vfs.0.<W>[.rc<N>]" >&2
2222
exit 1
2323
}
2424
- name: Determine tag to build

0 commit comments

Comments
 (0)