fastlane/lib/fastlane/commands_generator.rb in fastlane-2.18.3 vs fastlane/lib/fastlane/commands_generator.rb in fastlane-2.19.0.beta.20170222010016
- old
+ new
@@ -28,20 +28,21 @@
# redirect STDOUT and STDERR
out_channel = StringIO.new
$stdout = out_channel
$stderr = out_channel
end
-
+ FastlaneCore::UpdateChecker.start_looking_for_update('fastlane')
Fastlane.load_actions
FastlaneCore::Swag.stop_loader
# do not use "include" as it may be some where in the commandline where "env" is required, therefore explicit index->0
unless ARGV[0] == "env" || CLIToolsDistributor.running_version_command? || CLIToolsDistributor.running_help_command?
# *after* loading the plugins
Fastlane.plugin_manager.load_plugins
Fastlane::PluginUpdateManager.start_looking_for_updates
end
self.new.run
ensure
+ FastlaneCore::UpdateChecker.show_update_status('fastlane', Fastlane::VERSION)
Fastlane::PluginUpdateManager.show_update_status
if FastlaneCore::Globals.capture_output?
FastlaneCore::Globals.captured_output = Helper.strip_ansi_colors($stdout.string)
$stdout = STDOUT
$stderr = STDERR