Skip to content

Commit a661dae

Browse files
iangmaiamokagio
andauthored
Clarify logs to make it clearer we're checking tags on remote
Co-authored-by: Gio Lodi <[email protected]>
1 parent b0ee000 commit a661dae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fastlane/lanes/release.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,10 @@
284284
base_ref_for_hotfix = if git_tag_exists(tag: previous_version, remote: true)
285285
previous_version
286286
elsif Fastlane::Helper::GitHelper.branch_exists_on_remote?(branch_name: previous_release_branch)
287-
UI.message("ℹ️ Tag #{previous_version} not found. Using release branch #{previous_release_branch} as the base for hotfix instead.")
287+
UI.message("ℹ️ Tag '#{previous_version}' not found on the remote. Using release branch '#{previous_release_branch}' as the base for hotfix instead.")
288288
previous_release_branch
289289
else
290-
UI.user_error!("Neither tag #{previous_version} nor branch #{previous_release_branch} exists! A hotfix branch cannot be created.")
290+
UI.user_error!("Neither tag '#{previous_version}' nor branch '#{previous_release_branch}' exists on the remote! A hotfix branch cannot be created.")
291291
end
292292

293293
# Check versions

0 commit comments

Comments
 (0)