We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49c2fcd commit c1e8ee9Copy full SHA for c1e8ee9
fastlane/Fastfile
@@ -442,6 +442,9 @@ platform :ios do
442
# Check tags
443
UI.user_error!("Version '#{version}' already exists on the remote! Abort!") if git_tag_exists(tag: version, remote: true)
444
445
+ # Fetch the base ref to ensure it's available locally
446
+ sh('git', 'fetch', 'origin', base_ref_for_hotfix)
447
+
448
# Create the hotfix branch
449
UI.message("Creating hotfix branch from '#{base_ref_for_hotfix}'...")
450
Fastlane::Helper::GitHelper.create_branch("release/#{version}", from: base_ref_for_hotfix)
0 commit comments