From 705422a9bf9a84e6928bbb3f8339693033adadb1 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Wed, 13 Mar 2024 11:19:58 +0100 Subject: [PATCH] In fastlane hotfix workflow, check out the hotfix branch after creating --- fastlane/Fastfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index c02d5f8133..1bda326023 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -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)