bottle: fail if there is no stable version.

Closes Homebrew/homebrew#26742.
This commit is contained in:
Mike McQuaid 2014-02-15 11:28:48 +00:00
parent 457d409f80
commit 4bc82456ee

View File

@ -108,6 +108,10 @@ module Homebrew extend self
return ofail "Formula not installed with '--build-bottle': #{f.name}"
end
unless f.stable
return ofail "Formula has no stable version: #{f.name}"
end
if ARGV.include? '--no-revision'
bottle_revision = 0
else