Skip to content

Commit

Permalink
[CI] Update merge main to develop lane (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple authored Jul 31, 2024
1 parent cfcbb13 commit acfa498
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ end

lane :merge_main_to_develop do
if is_ci
sh('git config --global user.name "Stream Bot"')
sh('git reset --hard')
else
ensure_git_status_clean
Expand All @@ -150,10 +151,10 @@ lane :merge_main_to_develop do
sh('git checkout main')
sh('git pull origin main')
sh('git checkout origin/develop')
sh('git pull')
sh('git pull origin develop')
sh('git log develop..main')
sh('git merge main')
sh('git push')
sh('git push origin develop')
end

private_lane :appstore_api_key do
Expand Down

0 comments on commit acfa498

Please sign in to comment.