Skip to content
Snippets Groups Projects
Commit 84d1661b authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #1365 from MikeMcQuaid/audit-stable-url-beta

audit: check for alpha/beta/rc usage in URLs.
parents 030c3a50 b39f87e7
No related branches found
No related tags found
No related merge requests found
......@@ -637,6 +637,8 @@ class FormulaAuditor
stable = formula.stable
case stable && stable.url
when /[\d\._-](alpha|beta|rc\d)/
problem "Stable version URLs should not contain #{$1}"
when %r{download\.gnome\.org/sources}, %r{ftp\.gnome\.org/pub/GNOME/sources}i
version = Version.parse(stable.url)
if version >= Version.create("1.0")
......
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