summaryrefslogtreecommitdiff
path: root/.goreleaser.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.goreleaser.yaml')
-rw-r--r--.goreleaser.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index 742b6be..6fb2d67 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -25,6 +25,9 @@ builds:
goarch:
- amd64
- arm64
+ ldflags:
+ - -s -w
+ - -X main.version={{.Version}}
archives:
- formats: [tar.gz]