pull: try downloading bottles after upload.

This commit is contained in:
Mike McQuaid 2015-04-07 08:31:36 +01:00
parent cfc8ac0190
commit 631742c527

View File

@ -176,6 +176,7 @@ module Homebrew
"-u#{bintray_user}:#{bintray_key}", "-X", "POST", "-u#{bintray_user}:#{bintray_key}", "-X", "POST",
"https://api.bintray.com/content/homebrew/#{repo}/#{package}/#{version}/publish" "https://api.bintray.com/content/homebrew/#{repo}/#{package}/#{version}/publish"
puts puts
safe_system "brew", "fetch", "--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!"