File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 6
6
- main
7
7
paths :
8
8
- ' CHANGELOG/*.md'
9
-
9
+
10
10
permissions :
11
11
contents : write # Allow to push a tag, create a release branch and publish a draft release.
12
12
16
16
outputs :
17
17
release_tag : ${{ steps.release-version.outputs.release_version }}
18
18
steps :
19
- - name : Checkout code
19
+ - name : Checkout code
20
20
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
21
21
with :
22
22
fetch-depth : 0
43
43
done
44
44
- name : Determine the release branch to use
45
45
run : |
46
- if [[ $RELEASE_VERSION =~ beta ]] || [[ $RELEASE_VERSION =~ alpha ]]; then
46
+ # Use the release branch for all v1.10 releases
47
+ if [[ ! $RELEASE_VERSION =~ ^v1\.10 ]] && [[ $RELEASE_VERSION =~ beta ]] || [[ $RELEASE_VERSION =~ alpha ]]; then
47
48
export RELEASE_BRANCH=main
48
49
echo "RELEASE_BRANCH=$RELEASE_BRANCH" >> $GITHUB_ENV
49
50
echo "This is a beta or alpha release, will use release branch $RELEASE_BRANCH"
You can’t perform that action at this time.
0 commit comments