Commit 934226b
authored
fix: Better Go build flags for plugins packaging (#2415)
#### Summary
`trimpath` and `buildvcs` are better for cache re-usability and reproducible builds (we already include plugins versions in `resources/plugin.Version` so we don't need the VCS data).
Also `mod=readonly` ensures `go build` doesn't modify `go.mod` or `go.sum`
---1 parent 51f4d60 commit 934226b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments