Commit b3aa628
committed
fix(desktop): let CLI flag drive mac DMG arch
The publish-desktop matrix passes `--arm64`/`--x64` per leg, but the
config-level `arch: ["arm64", "x64"]` on each mac.target object
overrode those flags. Every matrix leg built both archs from its own
single-arch sidecar binary; combined with `--clobber` uploads, both
shipped DMGs ended up carrying the x86_64 sidecar (errno -86 EBADARCH on
Apple Silicon). Drop the in-config arch list and let the CLI flag
restrict, matching the pattern opencode/t3code use.1 parent ef35f44 commit b3aa628
2 files changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments