Skip to content

Commit

Permalink
Manual Rubocop fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
iangmaia committed Oct 26, 2023
1 parent ddad865 commit 6845f76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 6845f76

Please sign in to comment.