Skip to content
Snippets Groups Projects
Commit 57fa2137 authored by Jan Viljanen's avatar Jan Viljanen
Browse files

audit: check bind for development versions

parent c95cf90e
No related branches found
No related tags found
No related merge requests found
......@@ -719,6 +719,15 @@ module Homebrew
problem "#{stable.version} is a development release" if minor_version.odd?
end
end
case formula.name
when /bind/
version = Version.parse(stable.url)
return if version.to_s.split(".").second.to_i.even?
problem "BIND releases with odd minor version numbers (9.13.x, 9.15.x, etc) are " \
"for testing, and can be unstable and are not suitable for general deployment. " \
end
end
def audit_revision_and_version_scheme
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment