Skip to content

Commit 0942aee

Browse files
committed
✨ Add reproducible build for future plugins
1 parent 951a578 commit 0942aee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

controller/dev.go

+2
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ builds:
204204
binary: {{.ModuleName}}
205205
id: anyquery
206206
ldflags: "-s -w"
207+
flags: # To ensure reproducible builds
208+
- -trimpath
207209
208210
goarch:
209211
- amd64

0 commit comments

Comments
 (0)