Merge pull request #20538 from Homebrew/unversioned-universal_binary_allowlist
formula_cellar_checks: check unversioned name in `universal_binary_allowlist`
This commit is contained in:
commit
ed0011f40f
@ -371,7 +371,10 @@ module FormulaCellarChecks
|
||||
mismatches = mismatches.to_h
|
||||
|
||||
universal_binaries_expected = if (formula_tap = formula.tap).present? && formula_tap.core_tap?
|
||||
formula_tap.audit_exception(:universal_binary_allowlist, formula.name)
|
||||
formula_name = formula.name
|
||||
# Apply audit exception to versioned formulae too from the unversioned name.
|
||||
formula_name.gsub!(/@\d+(\.\d+)*$/, "") if formula.versioned_formula?
|
||||
formula_tap.audit_exception(:universal_binary_allowlist, formula_name)
|
||||
else
|
||||
true
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user