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 b493b3c commit 0d304a3Copy full SHA for 0d304a3
fastlane/Fastfile
@@ -447,6 +447,9 @@ platform :ios do
447
# Check tags
448
UI.user_error!("Version '#{version}' already exists on the remote! Abort!") if git_tag_exists(tag: version, remote: true)
449
450
+ # Fetch the base ref to ensure it's available locally
451
+ sh('git', 'fetch', 'origin', base_ref_for_hotfix)
452
+
453
# Create the hotfix branch
454
UI.message("Creating hotfix branch from '#{base_ref_for_hotfix}'...")
455
Fastlane::Helper::GitHelper.create_branch("release/#{version}", from: base_ref_for_hotfix)
0 commit comments