Skip to content

Commit 1eb20e7

Browse files
authored
Merge pull request #13 from gomicro/shrink-released-binary
Strip binary of debug info for release.
2 parents 136e148 + b7b3a20 commit 1eb20e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ builds:
55

66
ldflags:
77
- -X "github.com/gomicro/probe/cmd.Version={{.Env.VERSION}}"
8+
- "-s -w"
89

910
goos:
1011
- darwin

0 commit comments

Comments
 (0)