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 b4376a1 commit 56b313cCopy full SHA for 56b313c
fastlane/lanes/release.rb
@@ -250,9 +250,12 @@
250
# Fetch the base ref to ensure it's available locally
251
sh('git', 'fetch', 'origin', base_ref_for_hotfix)
252
253
+ hotfix_branch = "release/#{new_version}"
254
+ ensure_branch_does_not_exist!(hotfix_branch)
255
+
256
# Create the hotfix branch
257
UI.message("Creating hotfix branch from '#{base_ref_for_hotfix}'...")
- Fastlane::Helper::GitHelper.create_branch("release/#{new_version}", from: base_ref_for_hotfix)
258
+ Fastlane::Helper::GitHelper.create_branch(hotfix_branch, from: base_ref_for_hotfix)
259
UI.success("Done! New hotfix branch is: '#{git_branch}'")
260
261
# Bump the hotfix version and build code and write it to the `version.properties` file
0 commit comments