File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1818 with :
1919 ssh-private-key : ${{ secrets.BOT_SSH_PRIVATE_KEY }}
202021+ with :
22+ fetch-depth : 0
2123 - name : Extract version from branch name (for release branches)
2224 if : startsWith(github.event.pull_request.head.ref, 'release/')
2325 run : |
Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ lane :publish_release do |options|
109109 )
110110
111111 update_spm ( version : options [ :version ] )
112+
113+ merge_main_to_develop
112114end
113115
114116lane :merge_release_to_main do
@@ -135,8 +137,11 @@ lane :merge_main_to_develop do
135137 ensure_git_status_clean
136138 end
137139
138- sh ( 'git checkout main && git pull' )
139- sh ( 'git checkout develop && git pull' )
140+ sh ( 'git checkout main' )
141+ sh ( 'git pull origin main' )
142+ sh ( 'git checkout develop' )
143+ sh ( 'git pull origin develop' )
144+ sh ( 'git log develop..main' )
140145 sh ( 'git merge main' )
141146 sh ( 'git push' )
142147end
You can’t perform that action at this time.
0 commit comments