File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -222,8 +222,22 @@ jobs:
222222 git config user.name ionitron
223223 git config user.email hi@ionicframework.com
224224 shell : bash
225+ - name : Checkout Nightly Branch
226+ run : |
227+ git checkout -b ${{ needs.create-nightly-hash.outputs.nightly-hash }}
228+ git push origin ${{ needs.create-nightly-hash.outputs.nightly-hash }}
229+ shell : bash
225230 - name : Create GitHub Release
226- run : lerna version ${{ inputs.version }} --yes --force-publish='*' --conventional-commits --conventional-prerelease --create-release github
231+ run : lerna version ${{ needs.create-nightly-hash.outputs.nightly-hash }} --yes --force-publish='*' --conventional-commits --conventional-prerelease --create-release github
227232 env :
228233 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
229234 shell : bash
235+ # We need to push the commit changes in order for the tags
236+ # to get updated, but we don't need to keep the changelog
237+ # changes around.
238+ - name : Delete Nightly Branch
239+ run : |
240+ git checkout main
241+ git branch -D ${{ needs.create-nightly-hash.outputs.nightly-hash }}
242+ git push origin --delete ${{ needs.create-nightly-hash.outputs.nightly-hash }}
243+ shell : bash
You can’t perform that action at this time.
0 commit comments