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 4a779c1 commit f191830Copy full SHA for f191830
fastlane/lanes/release.rb
@@ -247,6 +247,9 @@
247
# Check tags
248
UI.user_error!("Version '#{new_version}' already exists on the remote! Abort!") if git_tag_exists(tag: new_version, remote: true)
249
250
+ # Fetch the base ref to ensure it's available locally
251
+ sh('git', 'fetch', 'origin', base_ref_for_hotfix)
252
+
253
# Create the hotfix branch
254
UI.message("Creating hotfix branch from '#{base_ref_for_hotfix}'...")
255
Fastlane::Helper::GitHelper.create_branch("release/#{new_version}", from: base_ref_for_hotfix)
0 commit comments