aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index d2d67cc6c..11887cf7a 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -433,8 +433,8 @@ if ARGV.include? '--ci-pr-upload' or ARGV.include? '--ci-testing-upload'
system "git am --abort 2>/dev/null"
system "git rebase --abort 2>/dev/null"
- safe_system "git reset --hard"
safe_system "git checkout -f master"
+ safe_system "git reset --hard origin/master"
safe_system "brew update"
if ARGV.include? '--ci-pr-upload'