Set bottle version rather than re-parse it from the URL

This commit is contained in:
Jack Nagel 2013-12-11 01:49:00 -06:00
parent 8c5a49067e
commit 4f158f23b8

View File

@ -47,6 +47,7 @@ class Formula
unless bottle.checksum.nil? || bottle.checksum.empty?
@bottle = bottle
bottle.url ||= bottle_url(self, bottle.current_tag)
bottle.version = stable.version
end
end