sigh/lib/sigh/runner.rb in fastlane-2.156.1 vs sigh/lib/sigh/runner.rb in fastlane-2.157.0
- old
+ new
@@ -16,12 +16,12 @@
FastlaneCore::PrintTable.print_values(config: Sigh.config,
hide_keys: [:output_path],
title: "Summary for sigh #{Fastlane::VERSION}")
UI.message("Starting login with user '#{Sigh.config[:username]}'")
- Spaceship.login(Sigh.config[:username], nil)
- Spaceship.select_team
+ Spaceship::ConnectAPI.login(Sigh.config[:username], nil)
+ Spaceship::ConnectAPI.select_team
UI.message("Successfully logged in")
profiles = [] if Sigh.config[:skip_fetch_profiles]
profiles ||= fetch_profiles # download the profile if it's there
@@ -58,15 +58,15 @@
return @profile_type if @profile_type
case Sigh.config[:platform]
when "ios"
@profile_type = Spaceship::ConnectAPI::Profile::ProfileType::IOS_APP_STORE
- @profile_type = Spaceship::ConnectAPI::Profile::ProfileType::IOS_APP_INHOUSE if Spaceship.client.in_house?
+ @profile_type = Spaceship::ConnectAPI::Profile::ProfileType::IOS_APP_INHOUSE if Spaceship::ConnectAPI.client.in_house?
@profile_type = Spaceship::ConnectAPI::Profile::ProfileType::IOS_APP_ADHOC if Sigh.config[:adhoc]
@profile_type = Spaceship::ConnectAPI::Profile::ProfileType::IOS_APP_DEVELOPMENT if Sigh.config[:development]
when "tvos"
@profile_type = Spaceship::ConnectAPI::Profile::ProfileType::TVOS_APP_STORE
- @profile_type = Spaceship::ConnectAPI::Profile::ProfileType::TVOS_APP_INHOUSE if Spaceship.client.in_house?
+ @profile_type = Spaceship::ConnectAPI::Profile::ProfileType::TVOS_APP_INHOUSE if Spaceship::ConnectAPI.client.in_house?
@profile_type = Spaceship::ConnectAPI::Profile::ProfileType::TVOS_APP_ADHOC if Sigh.config[:adhoc]
@profile_type = Spaceship::ConnectAPI::Profile::ProfileType::TVOS_APP_DEVELOPMENT if Sigh.config[:development]
when "macos"
@profile_type = Spaceship::ConnectAPI::Profile::ProfileType::MAC_APP_STORE
@profile_type = Spaceship::ConnectAPI::Profile::ProfileType::MAC_APP_DEVELOPMENT if Sigh.config[:development]