Skip to content
Snippets Groups Projects
Commit 2805a62a authored by Mike McQuaid's avatar Mike McQuaid
Browse files

test-bot: cleanup even more in tap directories.

parent 9061daad
No related branches found
No related tags found
No related merge requests found
...@@ -652,7 +652,10 @@ module Homebrew ...@@ -652,7 +652,10 @@ module Homebrew
if ARGV.include? "--ci-reset-and-update" if ARGV.include? "--ci-reset-and-update"
Dir.glob("#{HOMEBREW_LIBRARY}/Taps/*/*") do |tap_dir| Dir.glob("#{HOMEBREW_LIBRARY}/Taps/*/*") do |tap_dir|
cd tap_dir do cd tap_dir do
safe_system "git", "reset", "--hard" system "git am --abort 2>/dev/null"
system "git rebase --abort 2>/dev/null"
safe_system "git", "checkout", "-f", "master"
safe_system "git", "reset", "--hard", "origin/master"
end end
end end
safe_system "brew", "update" safe_system "brew", "update"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment