diff options
| author | Mike McQuaid | 2014-03-13 12:15:35 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-13 12:15:35 +0000 |
| commit | f75cd76a236263e0c940e91b6635651ac756988e (patch) | |
| tree | cbd83714e23f25f0c62b6d77a81bc6b7a0ba90a7 /Library | |
| parent | 959a4dfcd6ae9824fe28b34f8fa20805614d10dc (diff) | |
| download | homebrew-f75cd76a236263e0c940e91b6635651ac756988e.tar.bz2 | |
brew-test-bot: set Git author/committer correctly.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 5 |
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" |
