diff options
| author | Mike McQuaid | 2014-03-13 12:15:35 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-13 12:15:35 +0000 |
| commit | bcb82edea09116b7cdd2e7f8f277c1c33050f937 (patch) | |
| tree | 007d1f326d11efda02c3b373638b238b59d3e80a /Library | |
| parent | 5d11b5e7a5b05728f05b143c6b07ab8b9bca8989 (diff) | |
| download | brew-bcb82edea09116b7cdd2e7f8f277c1c33050f937.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" |
