test-bot: upload packages from canonical name.
This commit is contained in:
parent
bfee201a18
commit
1f541f7dfb
@ -725,8 +725,12 @@ module Homebrew
|
|||||||
existing_bottles = {}
|
existing_bottles = {}
|
||||||
Dir.glob("*.bottle*.tar.gz") do |filename|
|
Dir.glob("*.bottle*.tar.gz") do |filename|
|
||||||
formula_name = bottle_filename_formula_name filename
|
formula_name = bottle_filename_formula_name filename
|
||||||
formula = Formulary.factory formula_name rescue nil
|
canonical_formula_name = if tap
|
||||||
next unless formula
|
"#{tap}/#{formula_name}"
|
||||||
|
else
|
||||||
|
formula_name
|
||||||
|
end
|
||||||
|
formula = Formulary.factory canonical_formula_name
|
||||||
existing_bottles[formula_name] = !!formula.bottle
|
existing_bottles[formula_name] = !!formula.bottle
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user