Skip to content

Commit 1c32246

Browse files
committed
Add log when there's no release tag
1 parent bf9fbe2 commit 1c32246

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fastlane/Fastfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ platform :android do
9090
base_ref_for_hotfix = if git_tag_exists(tag: previous_version)
9191
previous_version
9292
elsif Fastlane::Helper::GitHelper.branch_exists_on_remote?(branch_name: previous_release_branch)
93+
UI.message("ℹ️ Tag #{previous_version} not found. Using release branch #{previous_release_branch} as the base for hotfix instead.")
9394
previous_release_branch
9495
else
9596
UI.user_error!("Neither tag #{previous_version} nor branch #{previous_release_branch} exists! A hotfix branch cannot be created.")

0 commit comments

Comments
 (0)