Commit bce3d5d
committed
fix(homebrew-build-bottles): unset HOMEBREW_REQUIRE_TAP_TRUST to bypass tap-trust check
The prior fix (HOMEBREW_NO_INSTALL_FROM_API=1 alone) doesn't bypass
the tap-trust check that fires inside `brew install --build-bottle`.
The check is gated on HOMEBREW_REQUIRE_TAP_TRUST being set in the
environment (Homebrew::EnvConfig.require_tap_trust?), and GitHub
runner images set that variable by default — so the trust check
still rejected `kreuzberg-dev/tap/<formula>` even when the formula
source was loaded from the local clone.
Unsetting the variable in-script before `brew tap` is the in-script
equivalent of trusting the tap: the check evaluates the env var
directly with no other override. Verified against the
`Refusing to load formula <…> from untrusted tap` errors observed
on alef v0.24.10 publish run 27394909611 and kreuzcrawl rc.55
publish run 27392283242.1 parent 324edd6 commit bce3d5d
1 file changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
42 | 49 | | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
| |||
0 commit comments