bottle: author bottle commit as BrewTestBot

This commit is contained in:
Dawid Dziurla 2020-03-31 14:56:02 +02:00
parent ed0985783a
commit 96cd210f8f
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

View File

@ -561,7 +561,8 @@ module Homebrew
pkg_version = bottle_hash["formula"]["pkg_version"] pkg_version = bottle_hash["formula"]["pkg_version"]
path.parent.cd do path.parent.cd do
safe_system "git", "commit", "--no-edit", "--verbose", author = "BrewTestBot <homebrew-test-bot@lists.sfconservancy.org>"
safe_system "git", "commit", "--no-edit", "--verbose", "--author=#{author}",
"--message=#{short_name}: #{update_or_add} #{pkg_version} bottle.", "--message=#{short_name}: #{update_or_add} #{pkg_version} bottle.",
"--", path "--", path
end end