Skip to content

Commit

Permalink
resource_auditor: relax version audit in taps
Browse files Browse the repository at this point in the history
Disable the version regex audit for 3rd-party taps,
at least for now to allow time to comply.
  • Loading branch information
scpeters authored Sep 6, 2023
1 parent 43295b2 commit 0ae29cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/resource_auditor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def audit
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
Expand Down

0 comments on commit 0ae29cc

Please sign in to comment.