pull: fetch bottles with --retry.

This commit is contained in:
Mike McQuaid 2015-04-20 19:52:39 +01:00
parent 24bdcb7b39
commit 033964fe87

View File

@ -177,7 +177,7 @@ module Homebrew
"https://api.bintray.com/content/homebrew/#{repo}/#{package}/#{version}/publish"
puts
sleep 2
safe_system "brew", "fetch", "--force-bottle", f.name
safe_system "brew", "fetch", "--retry", "--force-bottle", f.name
end
else
opoo "You must set BINTRAY_USER and BINTRAY_KEY to add or update bottles on Bintray!"