Skip to content

Commit

Permalink
Merge pull request #1249 from Homebrew/more-skip-verify-attestations
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocab authored Oct 2, 2024
2 parents 8b90458 + 280fa3e commit d332acb
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/tests/formulae.rb
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,15 @@ def bottle_reinstall_formula(formula, new_formula, args:)
@unchanged_dependencies -= @unchanged_build_dependencies
end

test "brew", "install", "--only-dependencies", @bottle_filename
test "brew", "install", @bottle_filename
verify_attestations = if formula.name == "gh"
nil
else
ENV.fetch("HOMEBREW_VERIFY_ATTESTATIONS", nil)
end
test "brew", "install", "--only-dependencies", @bottle_filename,
env: { "HOMEBREW_VERIFY_ATTESTATIONS" => verify_attestations }
test "brew", "install", @bottle_filename,
env: { "HOMEBREW_VERIFY_ATTESTATIONS" => verify_attestations }
end

def build_bottle?(formula, args:)
Expand Down

0 comments on commit d332acb

Please sign in to comment.