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
commitbcb82edea09116b7cdd2e7f8f277c1c33050f937 (patch)
tree007d1f326d11efda02c3b373638b238b59d3e80a /Library
parent5d11b5e7a5b05728f05b143c6b07ab8b9bca8989 (diff)
downloadbrew-bcb82edea09116b7cdd2e7f8f277c1c33050f937.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"