Skip to content

Commit 10571b7

Browse files
authored
validate version tags (#308)
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.
1 parent a814c03 commit 10571b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- master
77
tags:
8-
- 'v*'
8+
- 'v[0-9]+.[0-9]+.[0-9]+'
99
pull_request:
1010
branches:
1111
- master

0 commit comments

Comments
 (0)