Merge pull request #17546 from Homebrew/ww/gh-bootstrap-fix
This commit is contained in:
commit
43eaeca50f
@ -1256,7 +1256,9 @@ on_request: installed_on_request?, options:)
|
|||||||
|
|
||||||
sig { void }
|
sig { void }
|
||||||
def pour
|
def pour
|
||||||
if Homebrew::EnvConfig.verify_attestations? && formula.tap&.core_tap?
|
# We skip `gh` to avoid a bootstrapping cycle, in the off-chance a user attempts
|
||||||
|
# to explicitly `brew install gh` without already having a version for bootstrapping.
|
||||||
|
if Homebrew::EnvConfig.verify_attestations? && formula.tap&.core_tap? && formula.name != "gh"
|
||||||
ohai "Verifying attestation for #{formula.name}"
|
ohai "Verifying attestation for #{formula.name}"
|
||||||
begin
|
begin
|
||||||
Homebrew::Attestation.check_core_attestation formula.bottle
|
Homebrew::Attestation.check_core_attestation formula.bottle
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user