Expand output excluded by quiet

This commit is contained in:
Darren Kavanagh 2022-06-30 18:41:44 -07:00
parent a94f6ec50c
commit 700e2f19f1
No known key found for this signature in database
GPG Key ID: A258D1E837E3C689

View File

@ -236,7 +236,7 @@ module Homebrew
EOS EOS
end end
return if new_tag.blank? || new_tag == old_tag return if new_tag.blank? || new_tag == old_tag || args.quiet?
puts puts
ohai "Homebrew was updated to version #{new_tag}" ohai "Homebrew was updated to version #{new_tag}"
@ -245,7 +245,7 @@ module Homebrew
More detailed release notes are available on the Homebrew Blog: More detailed release notes are available on the Homebrew Blog:
#{Formatter.url("https://brew.sh/blog/#{new_tag}")} #{Formatter.url("https://brew.sh/blog/#{new_tag}")}
EOS EOS
elsif !args.quiet? else
puts <<~EOS puts <<~EOS
The changelog can be found at: The changelog can be found at:
#{Formatter.url("https://github.com/Homebrew/brew/releases/tag/#{new_tag}")} #{Formatter.url("https://github.com/Homebrew/brew/releases/tag/#{new_tag}")}