pilot/lib/pilot/build_manager.rb in fastlane-2.15.0.beta.20170213032052 vs pilot/lib/pilot/build_manager.rb in fastlane-2.15.0

- old
+ new

@@ -20,11 +20,11 @@ unless result UI.user_error!("Error uploading ipa file, for more information see above") end - UI.message("Successfully uploaded the new binary to iTunes Connect") + UI.success("Successfully uploaded the new binary to iTunes Connect") if config[:skip_waiting_for_build_processing] UI.important("Skip waiting for build processing") UI.important("This means that no changelog will be set and no build will be distributed to testers") return @@ -59,11 +59,12 @@ if build.testing_status == "External" UI.user_error!("Build #{build.train_version}(#{build.build_version}) has already been distributed.") return end - UI.message("Distributing build #{build.train_version}(#{build.build_version}) from #{build.testing_status} -> External") + type = options[:distribute_external] ? 'External' : 'Internal' + UI.message("Distributing build #{build.train_version}(#{build.build_version}) from #{build.testing_status} -> #{type}") end unless config[:update_build_info_on_upload] if should_update_build_information(options) build.update_build_information!(whats_new: options[:changelog], description: options[:beta_app_description], feedback_email: options[:beta_app_feedback_email]) @@ -71,10 +72,11 @@ end end return if config[:skip_submission] distribute_build(build, options) - UI.message("Successfully distributed build to beta testers 🚀") + type = options[:distribute_external] ? 'External' : 'Internal' + UI.success("Successfully distributed build to #{type} testers 🚀") end def list(options) start(options) if config[:apple_id].to_s.length == 0 and config[:app_identifier].to_s.length == 0