Skip to content
Snippets Groups Projects
Commit 321d5e5c authored by Xu Cheng's avatar Xu Cheng
Browse files

bottles: new method bottle_resolve_vesrion

parent 97fff0cd
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,10 @@ def bottle_resolve_formula_names bottle_file
[name, full_name]
end
def bottle_resolve_version bottle_file
Version.new bottle_receipt_path(bottle_file).split("/")[1]
end
class Bintray
def self.package(formula_name)
formula_name.to_s.gsub "+", "x"
......
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