Commit fb963423 authored by Samuel Giddins's avatar Samuel Giddins

[SourcesManager] Link directly to GH release for new version message

parent d915b394
...@@ -373,14 +373,15 @@ module Pod ...@@ -373,14 +373,15 @@ module Pod
install_message << 'gem install cocoapods' install_message << 'gem install cocoapods'
install_message << ' --pre' if rc install_message << ' --pre' if rc
message = [ message = [
"CocoaPods #{versions['last']} is available.".green, "CocoaPods #{last} is available.".green,
"To update use: `#{install_message}`".green, "To update use: `#{install_message}`".green,
("[!] This is a test version we'd love you to try.".yellow if rc), ("[!] 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" \ ("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), 'We strongly recommend that you use the latest version at all times.'.yellow unless rc),
'', '',
'For more information see https://blog.cocoapods.org'.green, 'For more information, see https://blog.cocoapods.org ' \
'and the CHANGELOG for this version http://git.io/BaH8pQ.'.green, 'and the CHANGELOG for this version at ' \
"https://github.com/CocoaPods/CocoaPods/releases/tag/#{last}".green,
'', '',
].compact.join("\n") ].compact.join("\n")
UI.puts("\n#{message}\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