Skip to content

Commit 5153131

Browse files
committed
Rename hotfix check method
1 parent b1a42b0 commit 5153131

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fastlane/Fastfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def release_version_next
126126
VERSION_FORMATTER.release_version(next_calculated_release_version)
127127
end
128128

129-
def release_is_hotfix?
129+
def is_current_release_hotfix?
130130
# Read the current release version from the .xcconfig file and parse it into an AppVersion object
131131
current_version = VERSION_FORMATTER.parse(VERSION_FILE.read_release_version)
132132
# Calculate and return whether the release version is a hotfix

fastlane/lanes/release.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
# @param skip_confirm [Boolean] Whether to skip confirmation prompts
393393
#
394394
lane :finalize_release do |skip_confirm: false|
395-
UI.user_error!('To finalize a hotfix, please use the `finalize_hotfix_release` lane instead') if release_is_hotfix?
395+
UI.user_error!('To finalize a hotfix, please use the `finalize_hotfix_release` lane instead') if is_current_release_hotfix?
396396

397397
ensure_git_branch_is_release_branch!
398398
ensure_git_status_clean

0 commit comments

Comments
 (0)