sigh/lib/sigh/runner.rb in fastlane-2.178.0 vs sigh/lib/sigh/runner.rb in fastlane-2.179.0

- old
+ new

@@ -19,9 +19,13 @@ if api_token UI.message("Creating authorization token for App Store Connect API") Spaceship::ConnectAPI.token = api_token else + # Username is now optional since addition of App Store Connect API Key + # Force asking for username to prompt user if not already set + Sigh.config.fetch(:username, force_ask: true) + # Team selection passed though FASTLANE_ITC_TEAM_ID and FASTLANE_ITC_TEAM_NAME environment variables # Prompts select team if multiple teams and none specified UI.message("Starting login with user '#{Sigh.config[:username]}'") Spaceship::ConnectAPI.login(Sigh.config[:username], nil, use_portal: true, use_tunes: false) UI.message("Successfully logged in")