pilot/lib/pilot/build_manager.rb in fastlane-2.177.0 vs pilot/lib/pilot/build_manager.rb in fastlane-2.178.0

- old
+ new

@@ -32,11 +32,12 @@ transporter = transporter_for_selected_team(options) result = transporter.upload(package_path: package_path) unless result - UI.user_error!("Error uploading ipa file, for more information see above") + transporter_errors = transporter.displayable_errors + UI.user_error!("Error uploading ipa file: \n #{transporter_errors}") end UI.success("Successfully uploaded the new binary to App Store Connect") # We will fully skip waiting for build processing *only* if no changelog is supplied @@ -251,12 +252,16 @@ rescue => ex UI.user_error!("Could not set changelog: #{ex}") end end - update_build_beta_details(build, { - auto_notify_enabled: options[:notify_external_testers] - }) + if options[:notify_external_testers].nil? + UI.important("Using App Store Connect's default for notifying external testers (which is true) - set `notify_external_testers` for full control") + else + update_build_beta_details(build, { + auto_notify_enabled: options[:notify_external_testers] + }) + end end def self.truncate_changelog(changelog) max_changelog_bytes = 4000 if changelog