Commit c72602c
fix(release): Goreleaser v2 invocation flags
The v0.1.2 release workflow failed with two distinct goreleaser errors:
1. `--id terrain-linux-amd64,terrain-linux-arm64`
error=no builds with ids terrain-linux-amd64,terrain-linux-arm64
The goreleaser v2 `--id` flag is singular and does not accept
comma-separated values. Multi-id builds need one --id per id. Reshape
the matrix to expose a verbatim build_args string ("--id A --id B")
that the runner passes through.
2. `release --clean --skip=publish,validate --skip-build`
error=unknown flag: --skip-build
Goreleaser v2 folded the standalone --skip-build into --skip, so all
phases live in a single comma-separated --skip value.
Verified by running v0.1.2 release workflow (run 25180906155): the
verify job passed but every matrix entry failed at the goreleaser step.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b87112c commit c72602c
1 file changed
Lines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | | - | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | | - | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | | - | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
98 | | - | |
| 101 | + | |
99 | 102 | | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
104 | | - | |
105 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
110 | | - | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
| |||
0 commit comments