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 ".rc<N>" 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 3f0dcb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-git-installers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ 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]*\)$' || {
echo "::error::${GITHUB_REF#refs/tags/} is not of the form v2.<X>.<Y>.vfs.0.<W>" >&2
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])?$' || {
echo "::error::${GITHUB_REF#refs/tags/} is not of the form v2.<X>.<Y>.vfs.0.<W>[.rc<N>]" >&2
exit 1
}
- name: Determine tag to build
Expand Down

0 comments on commit 3f0dcb0

Please sign in to comment.