Commit d450952
fix(build): parse wasmvm version from go.mod instead of go list -m
The wasmvm download hook used `go list -m` to resolve the version, but
this requires a populated Go module cache. When Docker layer cache is
invalidated (e.g., by changes to goreleaser before hooks), the fresh
build layer has no module cache, causing `go list -m` to fail silently
and the wasmvm .a to never be downloaded.
Replace with direct go.mod parsing via grep+cut which has no external
dependencies and works reliably in all contexts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 211a1a0 commit d450952
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments