Commit ec04f5b8 authored by Samuel E. Giddins's avatar Samuel E. Giddins

Merge pull request #4812 from CocoaPods/seg-sources-manager-link-to-release

[SourcesManager] Link directly to GH release for new version message
parents d915b394 fb963423
......@@ -373,14 +373,15 @@ module Pod
install_message << 'gem install cocoapods'
install_message << ' --pre' if rc
message = [
"CocoaPods #{versions['last']} is available.".green,
"CocoaPods #{last} is available.".green,
"To update use: `#{install_message}`".green,
("[!] This is a test version we'd love you to try.".yellow if rc),
("Until we reach version 1.0 the features of CocoaPods can and will change.\n" \
'We strongly recommend that you use the latest version at all times.'.yellow unless rc),
'',
'For more information see https://blog.cocoapods.org'.green,
'and the CHANGELOG for this version http://git.io/BaH8pQ.'.green,
'For more information, see https://blog.cocoapods.org ' \
'and the CHANGELOG for this version at ' \
"https://github.com/CocoaPods/CocoaPods/releases/tag/#{last}".green,
'',
].compact.join("\n")
UI.puts("\n#{message}\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment