Merge pull request #7246 from dawidd6/pr-pull-commit-author

bottle: author bottle commit as BrewTestBot
This commit is contained in:
Dawid Dziurla 2020-04-01 17:15:58 +02:00 committed by GitHub
commit fe6cf5767f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -561,7 +561,8 @@ module Homebrew
pkg_version = bottle_hash["formula"]["pkg_version"]
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.",
"--", path
end