bintray "package" should be name not full_name

Based on how it's used to construct URLs, the bintray "package" should
be the formula name not the formula full_name. For core formulae, there
is no difference, but that's not the case in other taps.

See https://github.com/Homebrew/homebrew-gui/pull/10

Closes #301.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2016-05-29 18:48:22 -07:00
parent 01b6787aa8
commit 6f37394e53

View File

@ -321,7 +321,7 @@ module Homebrew
} }
}, },
"bintray" => { "bintray" => {
"package" => Utils::Bottles::Bintray.package(f.full_name), "package" => Utils::Bottles::Bintray.package(f.name),
"repository" => Utils::Bottles::Bintray.repository(f.tap), "repository" => Utils::Bottles::Bintray.repository(f.tap),
}, },
}, },