Skip to content

Commit 442707f

Browse files
authored
chore: fix version regex (#108)
Signed-off-by: Niccolò Fei <[email protected]>
1 parent 2c821ea commit 442707f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: release-publish
33
on:
44
push:
55
tags:
6-
- '*-v[0-9]+.[0-9]+.[0-9]+'
6+
- '[a-z-]+-v[0-9]+.[0-9]+.[0-9]+'
77

88
jobs:
99
release:

.github/workflows/release-tag.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: christophebedard/[email protected]
3232
with:
3333
token: ${{ secrets.REPO_GHA_PAT }}
34-
version_regex: '^Release (*-v[0-9]+\.[0-9]+\.[0-9]+)'
34+
version_regex: '^Release ([a-z-]+-v[0-9]+\.[0-9]+\.[0-9]+)'
3535
dry_run: false
3636
-
3737
name: Enable "include administrators" branch protection

0 commit comments

Comments
 (0)