From 6845f76f68381170ba23c245876e107de537353d Mon Sep 17 00:00:00 2001 From: Ian Maia Date: Mon, 23 Oct 2023 15:12:12 +0200 Subject: [PATCH] Manual Rubocop fix after rebase --- fastlane/Fastfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 165b98c4886..31ed0aa643c 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -279,7 +279,7 @@ platform :android do lane :build_and_upload_to_play_store do |options| version = current_version_name build_code = current_build_code - is_beta = is_beta_version(version) + is_beta = beta_version?(version) unless options[:skip_prechecks] # Match branch names that begin with `release/` ensure_git_branch(branch: '^release/') unless is_ci @@ -463,7 +463,7 @@ platform :android do key_file_secrets[name] end - def is_beta_version(version) + def beta_version?(version) version.include? '-rc-' end