Skip to content

Commit

Permalink
Merge branch 'develop' into carthage
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple authored Jul 22, 2024
2 parents 5d684ae + d5b2cb4 commit c6aa8ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Extract version from branch name (for release branches)
if: startsWith(github.event.pull_request.head.ref, 'release/')
run: |
Expand Down
9 changes: 7 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ lane :publish_release do |options|
)

update_spm(version: options[:version])

merge_main_to_develop
end

lane :merge_release_to_main do
Expand All @@ -135,8 +137,11 @@ lane :merge_main_to_develop do
ensure_git_status_clean
end

sh('git checkout main && git pull')
sh('git checkout develop && git pull')
sh('git checkout main')
sh('git pull origin main')
sh('git checkout develop')
sh('git pull origin develop')
sh('git log develop..main')
sh('git merge main')
sh('git push')
end
Expand Down

0 comments on commit c6aa8ba

Please sign in to comment.