bottles: expand Bintray tap repository handling.
This commit is contained in:
parent
31028941a9
commit
b6f9eb0850
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user