test-bot: fix Bintray url for bottle uploading

This commit is contained in:
Xu Cheng 2015-12-11 16:19:51 +08:00
parent 65b197d2e0
commit 5773ca64c5

View File

@ -830,11 +830,7 @@ module Homebrew
tag = pr ? "pr-#{pr}" : "testing-#{number}"
safe_system "git", "push", "--force", remote, "master:master", ":refs/tags/#{tag}"
bintray_repo = if tap.nil?
Bintray.repository(tap)
else
Bintray.repository(tap.name)
end
bintray_repo = Bintray.repository(tap)
bintray_repo_url = "https://api.bintray.com/packages/homebrew/#{bintray_repo}"
formula_packaged = {}