Skip to content

Commit 3415009

Browse files
committed
Fix calver match
1 parent 0aeaa82 commit 3415009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
shell: pwsh
6969
run: |
7070
$tag = "${{ github.ref_name }}"
71-
if ($tag -notmatch '^v\d{4}\.\d{2}\.') {
71+
if ($tag -notmatch '^v\d{4}\.\d{1,2}\.') {
7272
throw "Tag '$tag' does not match CalVer format (e.g. v2026.02.1)"
7373
}
7474

0 commit comments

Comments
 (0)