pilot/lib/pilot/build_manager.rb in fastlane-2.183.2 vs pilot/lib/pilot/build_manager.rb in fastlane-2.184.0
- old
+ new
@@ -103,10 +103,11 @@
app_id: app.id,
platform: platform,
app_version: app_version,
build_version: app_build,
poll_interval: config[:wait_processing_interval],
+ timeout_duration: config[:wait_processing_timeout_duration],
return_when_build_appears: return_when_build_appears,
return_spaceship_testflight_build: false
)
unless latest_build.app_version == app_version && latest_build.version == app_build
@@ -363,9 +364,10 @@
# If itc_provider was explicitly specified, use it.
# If there are multiple teams, infer the provider from the selected team name.
# If there are fewer than two teams, don't infer the provider.
def transporter_for_selected_team(options)
# Use JWT auth
+ api_token = Spaceship::ConnectAPI.token
unless api_token.nil?
api_token.refresh! if api_token.expired?
return FastlaneCore::ItunesTransporter.new(nil, nil, false, nil, api_token.text)
end