File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 5555 git config user.email hi@ionicframework.com
5656 shell : bash
5757 - name : Checkout Nightly Branch
58+ # There are branch protection rules for our version
59+ # branches (i.e. "6.2.x"), so we cannot name the branch
60+ # the nightly hash as it would fall under the protection
61+ # rule. As a result, we prefix "tmp-" to the branch.
5862 run : |
59- git checkout -b ${{ needs.create-nightly-hash.outputs.nightly-hash }}
60- git push origin ${{ needs.create-nightly-hash.outputs.nightly-hash }}
63+ git checkout -b tmp- ${{ needs.create-nightly-hash.outputs.nightly-hash }}
64+ git push origin tmp- ${{ needs.create-nightly-hash.outputs.nightly-hash }}
6165 shell : bash
6266 - name : Create GitHub Release
6367 run : lerna version ${{ needs.create-nightly-hash.outputs.nightly-hash }} --yes --force-publish='*' --conventional-commits --conventional-prerelease --create-release github
7074 - name : Delete Nightly Branch
7175 run : |
7276 git checkout main
73- git branch -D ${{ needs.create-nightly-hash.outputs.nightly-hash }}
74- git push origin --delete ${{ needs.create-nightly-hash.outputs.nightly-hash }}
77+ git branch -D tmp- ${{ needs.create-nightly-hash.outputs.nightly-hash }}
78+ git push origin --delete tmp- ${{ needs.create-nightly-hash.outputs.nightly-hash }}
7579 shell : bash
You can’t perform that action at this time.
0 commit comments