Repository navigation
Commit 54aa379
authored
homebrew: fix brew style failure, sync formula to v5.5.0, preserve tap bottles (#1626)
* homebrew: fix new brew style offense, sync formula to v5.5.0, preserve tap bottles
- Replace Formula["python@3.12"].opt_bin with formula_opt_bin("python@3.12"):
Homebrew's new FormulaPathMethods cop (brew 2026-06-22) fails brew style on
the old form, which broke Deploy Homebrew Tap and Homebrew Formula Test on
the v5.5.0 release.
- Bump the in-repo formula url/sha256 to v5.5.0 to match the tap, so the
push-triggered tap deploy does not downgrade the tap back to v5.2.0.
- Preserve the tap's existing bottle block in deploy-tap.yml when the release
URL is unchanged, so formula-only pushes to master no longer delete bottles
built for the current version.
* deploy-tap: never downgrade the tap; drop redundant tag-event deploy
- Push-to-master deploys previously copied the in-repo formula verbatim into
the tap. Since homebrew-release.yml bumps the tap directly on releases, the
repo copy lags behind and such a push would downgrade the tap and delete its
bottles. The copy step now adopts the tap's url/sha256 whenever the tap pins
a newer release, and the tap commit message uses the deployed version.
- Remove the 'create' (tag) trigger: homebrew-release.yml already owns tag
releases, so both workflows raced to push the tap on every tag, and this
one put a strict brew audit on the release critical path (the v5.5.0
failure). Tag handling is kept for manual dispatch from a tag ref.1 parent ebde16c commit 54aa379
2 files changed
Lines changed: 39 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 45 | + | |
| 46 | + | |
53 | 47 | | |
54 | 48 | | |
55 | 49 | | |
| |||
71 | 65 | | |
72 | 66 | | |
73 | 67 | | |
74 | | - | |
| 68 | + | |
75 | 69 | | |
76 | 70 | | |
77 | 71 | | |
| |||
110 | 104 | | |
111 | 105 | | |
112 | 106 | | |
| 107 | + | |
113 | 108 | | |
114 | 109 | | |
| 110 | + | |
115 | 111 | | |
116 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
117 | 140 | | |
| 141 | + | |
118 | 142 | | |
119 | 143 | | |
120 | 144 | | |
| |||
128 | 152 | | |
129 | 153 | | |
130 | 154 | | |
131 | | - | |
| 155 | + | |
132 | 156 | | |
133 | 157 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments