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 701debb commit 458e13dCopy full SHA for 458e13d
fastlane/Fastfile
@@ -445,9 +445,12 @@ platform :ios do
445
# Fetch the base ref to ensure it's available locally
446
sh('git', 'fetch', 'origin', base_ref_for_hotfix)
447
448
+ hotfix_branch = "release/#{version}"
449
+ ensure_branch_does_not_exist!(hotfix_branch)
450
+
451
# Create the hotfix branch
452
UI.message("Creating hotfix branch from '#{base_ref_for_hotfix}'...")
- Fastlane::Helper::GitHelper.create_branch("release/#{version}", from: base_ref_for_hotfix)
453
+ Fastlane::Helper::GitHelper.create_branch(hotfix_branch, from: base_ref_for_hotfix)
454
UI.success("Done! New hotfix branch is: '#{git_branch}'")
455
456
# Bump the hotfix version and build code and write it to the `xcconfig` file
0 commit comments