We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6199090 commit 7063aa4Copy full SHA for 7063aa4
.goreleaser.yml
@@ -36,7 +36,7 @@ builds:
36
- goos: darwin
37
goarch: 386
38
hooks:
39
- post: ./upx.sh
+ post: ./upx.sh -9 "{{ .Path }}"
40
archives:
41
- format_overrides:
42
- goos: windows
upx.sh
@@ -1,2 +1,2 @@
1
#!/bin/sh
2
-(which upx > /dev/null && ls -1 dist/*/* | xargs -I{} -n1 -P 4 $(which upx) -9 "{}") || echo "not using upx for binary compression"
+upx "$@" || true
0 commit comments