Skip to content

Commit

Permalink
validate version tags (#308)
Browse files Browse the repository at this point in the history
so non-semver tags don't trigger a deployment that will fail.

It's not a normal regexp syntax. Dots `.` will only match dots and not any characters.
  • Loading branch information
Istador authored Sep 27, 2022
1 parent a814c03 commit 10571b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
tags:
- 'v*'
- 'v[0-9]+.[0-9]+.[0-9]+'
pull_request:
branches:
- master
Expand Down

0 comments on commit 10571b7

Please # to comment.