Merge pull request #10582 from issyl0/update-maintainers-remind-about-brew-man

dev-cmd/update-maintainers: If there are changes, auto-update man pages
This commit is contained in:
Issy Long 2021-02-11 00:13:40 +00:00 committed by GitHub
commit c951be8d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
require "cli/parser"
require "utils/github"
require "dev-cmd/man"
module Homebrew
extend T::Sig
@ -61,7 +62,8 @@ module Homebrew
if diff.status.success?
puts "No changes to list of maintainers."
else
puts "List of maintainers updated in README."
Homebrew.regenerate_man_pages(preserve_date: true, quiet: true)
puts "List of maintainers updated in the README and the generated man pages."
end
end
end