Skip to content

Commit

Permalink
Ensure that the app_identifier argument gets used.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsymons committed Jan 27, 2025
1 parent e436084 commit 98d2b71
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -255,12 +255,10 @@ platform :ios do

desc 'Latest build number for version'
lane :latest_build_number_for_version do |options|
if options[:app_identifier]
app_identifier = options[:app_identifier]
end
build_number = latest_testflight_build_number(
api_key: get_api_key,
version: options[:version],
app_identifier: options[:app_identifier],
initial_build_number: -1,
username: get_username(options))
if options[:file_name]
Expand All @@ -270,13 +268,10 @@ platform :ios do

desc 'Increment build number based on version in App Store Connect'
lane :increment_build_number_for_version do |options|
if options[:app_identifier]
app_identifier = options[:app_identifier]
end

build_number = latest_testflight_build_number(
api_key: get_api_key,
version: options[:version],
app_identifier: options[:app_identifier],
initial_build_number: -1,
username: get_username(options)
)
Expand Down

0 comments on commit 98d2b71

Please sign in to comment.