brew-create: don't insert autodetected versions.
This commit is contained in:
parent
7766505348
commit
beff735d3f
@ -122,7 +122,7 @@ class FormulaCreator
|
||||
class #{Formula.class_s name} < Formula
|
||||
homepage ''
|
||||
url '#{url}'
|
||||
<% unless version.nil? %>
|
||||
<% if not version.nil? and not version.detected_from_url? %>
|
||||
version '#{version}'
|
||||
<% end %>
|
||||
sha1 '#{sha1}'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user