Skip to content

Commit

Permalink
fixup! release: create initial Windows installer build workflow
Browse files Browse the repository at this point in the history
Loosen the prereqs step enough to allow "-<something>" pre-release tags
(e.g. "-rc0"). Also switch to 'grep -E' to avoid needing to escape so many
things.
  • Loading branch information
vdye committed Nov 8, 2023
1 parent 289cef5 commit f9bcc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-git-installers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.<X>.<Y>.vfs.0.<W>" >&2
exit 1
}
Expand Down

0 comments on commit f9bcc32

Please sign in to comment.