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)