Skip to content

Commit 3a8b229

Browse files
committed
Allow v prefix in releases.
1 parent f1afc12 commit 3a8b229

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

workflow-templates/publish-go-tester-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Determine if the rest of the workflow should run
4040
id: determination
4141
run: |
42-
RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x"
42+
RELEASE_BRANCH_REGEX="refs/heads/v?[0-9]+.[0-9]+.x"
4343
TAG_REGEX="refs/tags/.*"
4444
# The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead.
4545
if [[

workflow-templates/release-go-task.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
on:
1515
push:
1616
tags:
17-
- "[0-9]+.[0-9]+.[0-9]+*"
17+
- "v?[0-9]+.[0-9]+.[0-9]+*"
1818

1919
jobs:
2020
create-release-artifacts:
@@ -68,7 +68,7 @@ jobs:
6868
if: matrix.os.task == 'Windows_32bit'
6969
uses: arduino/create-changelog@v1
7070
with:
71-
tag-regex: '^[0-9]+\.[0-9]+\.[0-9]+.*$'
71+
tag-regex: '^v?[0-9]+\.[0-9]+\.[0-9]+.*$'
7272
filter-regex: '^\[(skip|changelog)[ ,-](skip|changelog)\].*'
7373
case-insensitive-regex: true
7474
changelog-file-path: "${{ env.DIST_DIR }}/CHANGELOG.md"

0 commit comments

Comments
 (0)