Skip to content

Commit 2ec0fbb

Browse files
committed
partially reverted 593c140
we'll keep 0.35.x release branch name. We'll use "v" only for the tag, this way the documentation branches will work just like before
1 parent e4eeaf0 commit 2ec0fbb

8 files changed

+11
-11
lines changed

Diff for: .github/workflows/check-go-dependencies-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Determine if the rest of the workflow should run
4444
id: determination
4545
run: |
46-
RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x"
46+
RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x"
4747
# The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead.
4848
if [[
4949
"${{ github.event_name }}" != "create" ||

Diff for: .github/workflows/check-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Determine if the rest of the workflow should run
3535
id: determination
3636
run: |
37-
RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x"
37+
RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x"
3838
# The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead.
3939
if [[ \
4040
"${{ github.event_name }}" != "create" || \

Diff for: .github/workflows/check-i18n-task.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ env:
88
on:
99
push:
1010
branches:
11-
# Release branches have names like v0.35.x, v0.36.x, ...
12-
- "v[0-9]+.[0-9]+.x"
11+
# Release branches have names like 0.8.x, 0.9.x, ...
12+
- "[0-9]+.[0-9]+.x"
1313
workflow_dispatch:
1414
repository_dispatch:
1515

Diff for: .github/workflows/check-markdown-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Determine if the rest of the workflow should run
5454
id: determination
5555
run: |
56-
RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x"
56+
RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x"
5757
# The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead.
5858
if [[
5959
"${{ github.event_name }}" != "create" ||

Diff for: .github/workflows/check-protobuf-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Determine if the rest of the workflow should run
3030
id: determination
3131
run: |
32-
RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x"
32+
RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x"
3333
# The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead.
3434
if [[ \
3535
"${{ github.event_name }}" != "create" || \

Diff for: .github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ on:
1212
branches:
1313
# Branch to base "dev" website on. Set in siteversion.py also.
1414
- master
15-
# Release branches have names like v0.35.x, 0.36.x, ...
16-
- "v[0-9]+.[0-9]+.x"
15+
# Release branches have names like 0.8.x, 0.9.x, ...
16+
- "[0-9]+.[0-9]+.x"
1717
paths:
1818
- "docs/**"
1919
- ".github/workflows/deploy-cobra-mkdocs-versioned-poetry.ya?ml"
@@ -38,7 +38,7 @@ jobs:
3838
- name: Determine if documentation should be published on this workflow run
3939
id: determination
4040
run: |
41-
RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x"
41+
RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x"
4242
if [[ "${{ github.event_name }}" == "push" || ( "${{ github.event_name }}" == "create" && "${{ github.ref }}" =~ $RELEASE_BRANCH_REGEX ) ]]; then
4343
RESULT="true"
4444
else

Diff for: .github/workflows/publish-go-tester-task.yml

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

Diff for: .github/workflows/test-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Determine if the rest of the workflow should run
4444
id: determination
4545
run: |
46-
RELEASE_BRANCH_REGEX="refs/heads/v[0-9]+.[0-9]+.x"
46+
RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x"
4747
# The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead.
4848
if [[ \
4949
"${{ github.event_name }}" != "create" || \

0 commit comments

Comments
 (0)