From 0ae29cc7fa536526e9148d768bcd7e26cf3e9826 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Tue, 5 Sep 2023 22:51:58 -0700 Subject: [PATCH] resource_auditor: relax version audit in taps Disable the version regex audit for 3rd-party taps, at least for now to allow time to comply. --- Library/Homebrew/resource_auditor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/resource_auditor.rb b/Library/Homebrew/resource_auditor.rb index 484ffae81b..2f808c0880 100644 --- a/Library/Homebrew/resource_auditor.rb +++ b/Library/Homebrew/resource_auditor.rb @@ -46,7 +46,7 @@ module Homebrew def audit_version if version.nil? problem "missing version" - elsif owner.is_a?(Formula) && !version.to_s.match?(GitHubPackages::VALID_OCI_TAG_REGEX) + elsif owner.is_a?(Formula) && owner.core_formula? && !version.to_s.match?(GitHubPackages::VALID_OCI_TAG_REGEX) problem "version #{version} does not match #{GitHubPackages::VALID_OCI_TAG_REGEX.source}" elsif !version.detected_from_url? version_text = version