File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 6060
6161 publish-release :
6262 name : ' Publish Release'
63- needs : [bump-version, build-android, build-ios ]
63+ needs : [bump-version, build-android]
6464 runs-on : ubuntu-latest
6565 env :
6666 MERGE_TARGET : master
7171
7272 - uses : actions/checkout@v4
7373 with :
74- ref : ${{ env.MERGE_TARGET }}
74+ fetch-depth : 0 # fetch all history all branches and tags
7575
7676 - name : Download iOS App
7777 uses : actions/download-artifact@v4
@@ -100,6 +100,9 @@ jobs:
100100
101101 - name : Merge Release
102102 run : |
103- git merge release/${{ env.VERSION }} \
104- && git push origin ${{ env.MERGE_TARGET }} \
105- || gh pr create --title "Merge Release ${{ env.VERSION }}" --body "Merge of the release ${{ env.VERSION }} into ${{ env.MERGE_TARGET }} failed. Please it merge manually."
103+ git reset --hard
104+ git checkout release/${{ env.VERSION }}
105+ git checkout ${{ env.MERGE_TARGET }}
106+ git merge release/${{ env.VERSION }} --no-ff
107+ git push origin ${{ env.MERGE_TARGET }}
108+ git push origin --delete release/${{ env.VERSION }}
You can’t perform that action at this time.
0 commit comments