Skip to content
Snippets Groups Projects
Commit 64e07fc9 authored by Xu Cheng's avatar Xu Cheng
Browse files

audit: version string should not be ambiguous with revision part


Closes Homebrew/homebrew#38810.

Signed-off-by: default avatarXu Cheng <xucheng@me.com>
parent 2f757ee5
No related branches found
No related tags found
No related merge requests found
......@@ -847,6 +847,10 @@ class ResourceAuditor
if version.to_s =~ /^v/
problem "version #{version} should not have a leading 'v'"
end
if version.to_s =~ /_\d+$/
problem "version #{version} should not end with a underline and a number"
end
end
def audit_checksum
......
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