This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11on :
22 push :
33 branches :
4- - master
4+ - develop
55
66name : Deploy snapshot builds
77jobs :
Original file line number Diff line number Diff line change @@ -10,13 +10,15 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v2
13+ with :
14+ ref : ' release'
1315 - name : Extract version from milestone
1416 run : |
1517 VERSION="${{ github.event.milestone.title }}"
1618 echo "::set-env name=RELEASE_VERSION::$VERSION"
1719
1820 - name : Create release branch
19- run : git checkout -b release/ ${{ env.RELEASE_VERSION }}
21+ run : git checkout -b release- ${{ env.RELEASE_VERSION }}
2022
2123 - name : Update changelog
2224 uses : thomaseizinger/keep-a-changelog-new-release@1.1.0
@@ -34,12 +36,12 @@ jobs:
3436 git commit --message "Prepare release ${{ env.RELEASE_VERSION }}"
3537
3638 - name : Push new branch
37- run : git push origin release/ ${{ env.RELEASE_VERSION }}
39+ run : git push origin release- ${{ env.RELEASE_VERSION }}
3840
3941 - name : Create pull request
4042 uses : thomaseizinger/create-pull-request@1.0.0
4143 with :
4244 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43- head : release/ ${{ env.RELEASE_VERSION }}
44- base : master
45+ head : release- ${{ env.RELEASE_VERSION }}
46+ base : release
4547 title : Release ${{ env.RELEASE_VERSION }}
You can’t perform that action at this time.
0 commit comments