This commit is contained in:
divyam234 2023-08-25 23:06:48 +05:30
parent aae8a9f116
commit 2ee78274ec

View file

@ -7,7 +7,7 @@ builds:
flags:
- -trimpath
ldflags:
- -s -w -extldflags "-static"'
- -s -w -extldflags "-static"
- -X {{ .ModulePath }}/pkg/consts.Version={{ .Version }}
- -X {{ .ModulePath }}/pkg/consts.Commit={{ .ShortCommit }}
- -X {{ .ModulePath }}/pkg/consts.CommitDate={{ .CommitDate }}