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