test-bot: fix bottle uploading
This commit is contained in:
parent
347a215361
commit
9e2c0601e3
@ -795,7 +795,11 @@ module Homebrew
|
||||
tag = pr ? "pr-#{pr}" : "testing-#{number}"
|
||||
safe_system "git", "push", "--force", remote, "master:master", ":refs/tags/#{tag}"
|
||||
|
||||
bintray_repo = Bintray.repository(tap.name)
|
||||
bintray_repo = if tap
|
||||
Bintray.repository(tap)
|
||||
else
|
||||
Bintray.repository(tap.name)
|
||||
end
|
||||
bintray_repo_url = "https://api.bintray.com/packages/homebrew/#{bintray_repo}"
|
||||
formula_packaged = {}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user