Skip to content

Commit 5ca26d8

Browse files
committed
build: enable upx compression
1 parent 7bdd821 commit 5ca26d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.goreleaser.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ builds:
4949
- -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.CommitDate}}
5050
gcflags:
5151
- all=-l -B
52+
53+
upx:
54+
- enabled: true
55+
compress: best
56+
lzma: true
5257
archives:
5358
- format: binary
5459
files:
@@ -58,6 +63,7 @@ archives:
5863
{{- .Os }}-
5964
{{- .Arch }}
6065
{{- if .Arm }}v{{ .Arm }}{{ end }}
66+
6167
changelog:
6268
sort: asc
6369
filters:

0 commit comments

Comments
 (0)