Skip to content
Snippets Groups Projects
Commit b6f9eb08 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

bottles: expand Bintray tap repository handling.

parent 31028941
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ end ...@@ -49,7 +49,7 @@ end
class Bintray class Bintray
def self.repository(tap=nil) def self.repository(tap=nil)
return "bottles" if tap.to_s.empty? return "bottles" if tap.to_s.empty?
"bottles-#{tap.sub(/^homebrew\/homebrew-/i, "")}" "bottles-#{tap.sub(/^homebrew\/(homebrew-)?/i, "")}"
end end
def self.version(path) def self.version(path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment