aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-03-13 12:15:35 +0000
committerMike McQuaid2014-03-13 12:15:35 +0000
commitf75cd76a236263e0c940e91b6635651ac756988e (patch)
treecbd83714e23f25f0c62b6d77a81bc6b7a0ba90a7 /Library
parent959a4dfcd6ae9824fe28b34f8fa20805614d10dc (diff)
downloadhomebrew-f75cd76a236263e0c940e91b6635651ac756988e.tar.bz2
brew-test-bot: set Git author/committer correctly.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 3ea35b96e..01af3f026 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -428,6 +428,9 @@ if ARGV.include? '--ci-pr-upload' or ARGV.include? '--ci-testing-upload'
copied = system "cp #{jenkins}/jobs/\"#{job}\"/configurations/axis-version/*/builds/#{id}/archive/*.bottle*.* ."
exit unless copied
+ ENV["GIT_COMMITTER_NAME"] = "BrewTestBot"
+ ENV["GIT_COMMITTER_EMAIL"] = "brew-test-bot@googlegroups.com"
+
pr = ENV['UPSTREAM_PULL_REQUEST']
number = ENV['UPSTREAM_BUILD_NUMBER']
@@ -441,6 +444,8 @@ if ARGV.include? '--ci-pr-upload' or ARGV.include? '--ci-testing-upload'
safe_system "brew pull --clean #{pr}"
end
+ ENV["GIT_AUTHOR_NAME"] = ENV["GIT_COMMITTER_NAME"]
+ ENV["GIT_AUTHOR_EMAIL"] = ENV["GIT_COMMITTER_EMAIL"]
safe_system "brew bottle --merge --write *.bottle*.rb"
remote = "git@github.com:BrewTestBot/homebrew.git"