Skip to content

Commit 63ba4db

Browse files
committed
build(goreleaser): enable UPX compression
for linux and darwin (although macos not supported by upx)
1 parent dd34aa0 commit 63ba4db

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.goreleaser.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,15 @@ builds:
153153
# - -trimpath
154154
# - -buildmode=exe
155155

156+
upx:
157+
-
158+
enabled: true
159+
goos: [linux, darwin]
160+
goarch: [arm64, amd64]
161+
compress: best
162+
lzma: true
163+
brute: true
164+
156165
universal_binaries:
157166
- id: darwin-universal
158167
ids:

0 commit comments

Comments
 (0)