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 5dcecde commit aec64eaCopy full SHA for aec64ea
fastlane/lanes/release.rb
@@ -308,6 +308,9 @@
308
# Check tags
309
UI.user_error!("Version '#{new_version}' already exists on the remote! Abort!") if git_tag_exists(tag: new_version, remote: true)
310
311
+ # Fetch the base ref to ensure it's available locally
312
+ sh('git', 'fetch', 'origin', base_ref_for_hotfix)
313
+
314
# Create the hotfix branch
315
UI.message("Creating hotfix branch from '#{base_ref_for_hotfix}'...")
316
Fastlane::Helper::GitHelper.create_branch(compute_release_branch_name(options: options, version: new_version), from: base_ref_for_hotfix)
0 commit comments