bottle: fail if there is no stable version.
Closes Homebrew/homebrew#26742.
This commit is contained in:
parent
457d409f80
commit
4bc82456ee
@ -108,6 +108,10 @@ module Homebrew extend self
|
|||||||
return ofail "Formula not installed with '--build-bottle': #{f.name}"
|
return ofail "Formula not installed with '--build-bottle': #{f.name}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
unless f.stable
|
||||||
|
return ofail "Formula has no stable version: #{f.name}"
|
||||||
|
end
|
||||||
|
|
||||||
if ARGV.include? '--no-revision'
|
if ARGV.include? '--no-revision'
|
||||||
bottle_revision = 0
|
bottle_revision = 0
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user