Skip to content

Commit cad9603

Browse files
committed
Improve logs for consistency
1 parent 55bbae8 commit cad9603

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fastlane/lanes/release.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,20 +304,20 @@
304304
UI.user_error!('Aborted by user request') unless options[:skip_confirm] || UI.confirm('Do you want to continue?')
305305

306306
# Check tags
307-
UI.user_error!("Version #{new_version} already exists! Abort!") if git_tag_exists(tag: new_version)
307+
UI.user_error!("Version '#{new_version}' already exists on the remote! Abort!") if git_tag_exists(tag: new_version, remote: true)
308308

309309
# Create the hotfix branch
310-
UI.message "Creating hotfix branch from #{base_ref_for_hotfix}..."
310+
UI.message("Creating hotfix branch from '#{base_ref_for_hotfix}'...")
311311
Fastlane::Helper::GitHelper.create_branch(compute_release_branch_name(options: options, version: new_version), from: base_ref_for_hotfix)
312-
UI.success "Done! New hotfix branch is: #{git_branch}"
312+
UI.success("Done! New hotfix branch is: '#{git_branch}'")
313313

314314
# Bump the hotfix version and build code and write it to the `xcconfig` file
315-
UI.message 'Bumping hotfix version and build code...'
315+
UI.message('Bumping hotfix version and build code...')
316316
PUBLIC_VERSION_FILE.write(
317317
version_short: new_version,
318318
version_long: build_code_hotfix
319319
)
320-
UI.success "Done! New Release Version: #{release_version_current}. New Build Code: #{build_code_current}"
320+
UI.success("Done! New Release Version: '#{release_version_current}'. New Build Code: '#{build_code_current}'")
321321

322322
commit_version_and_build_files
323323

0 commit comments

Comments
 (0)