Set bottle version rather than re-parse it from the URL
This commit is contained in:
parent
8c5a49067e
commit
4f158f23b8
@ -47,6 +47,7 @@ class Formula
|
|||||||
unless bottle.checksum.nil? || bottle.checksum.empty?
|
unless bottle.checksum.nil? || bottle.checksum.empty?
|
||||||
@bottle = bottle
|
@bottle = bottle
|
||||||
bottle.url ||= bottle_url(self, bottle.current_tag)
|
bottle.url ||= bottle_url(self, bottle.current_tag)
|
||||||
|
bottle.version = stable.version
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user