pull: fetch bottles with --retry.
This commit is contained in:
parent
24bdcb7b39
commit
033964fe87
@ -177,7 +177,7 @@ module Homebrew
|
|||||||
"https://api.bintray.com/content/homebrew/#{repo}/#{package}/#{version}/publish"
|
"https://api.bintray.com/content/homebrew/#{repo}/#{package}/#{version}/publish"
|
||||||
puts
|
puts
|
||||||
sleep 2
|
sleep 2
|
||||||
safe_system "brew", "fetch", "--force-bottle", f.name
|
safe_system "brew", "fetch", "--retry", "--force-bottle", f.name
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
opoo "You must set BINTRAY_USER and BINTRAY_KEY to add or update bottles on Bintray!"
|
opoo "You must set BINTRAY_USER and BINTRAY_KEY to add or update bottles on Bintray!"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user