Skip to content

Commit

Permalink
Checkout the branch after creating
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Mar 13, 2024
1 parent 013a7bd commit 5b6d770
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,8 @@ release in progress and you're making a follow-up internal release that includes
if is_ci
sha = Action.sh('git', 'rev-parse', source_version).chomp
Action.sh('gh', 'api', '--method', 'POST', '/repos/duckduckgo/macos-browser/git/refs', '-f', "ref=refs/heads/#{release_branch}", '-f', "sha=#{sha}")
Action.sh('git', 'fetch', 'origin')
Action.sh('git', 'checkout', release_branch)
else
Action.sh('git', 'fetch', '--tags')
Action.sh('git', 'checkout', '-b', release_branch, source_version)
Expand Down

0 comments on commit 5b6d770

Please sign in to comment.