Skip to content

Commit

Permalink
Merge pull request #17546 from Homebrew/ww/gh-bootstrap-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid authored Jun 24, 2024
2 parents 347529b + 0656a30 commit 43eaeca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Library/Homebrew/formula_installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,9 @@ def downloader

sig { void }
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}"
begin
Homebrew::Attestation.check_core_attestation formula.bottle
Expand Down

0 comments on commit 43eaeca

Please sign in to comment.