Skip to content

Commit cbe9736

Browse files
committed
Compress binaries with UPX in goreleaser hook
1 parent efbd8f6 commit cbe9736

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pipedream/.goreleaser.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,19 @@ builds:
2121
goarm:
2222
- 6
2323
- 7
24-
- id: "darwin"
24+
hooks:
25+
post:
26+
- upx "{{ .Path }}"
27+
- id: "pipedream-darwin"
2528
binary: pipedream
2629
ldflags: -s -w -X main.Version={{ .Version }}
2730
goos:
2831
- darwin
2932
goarch:
3033
- amd64
34+
hooks:
35+
post:
36+
- upx "{{ .Path }}"
3137

3238

3339
archives:

0 commit comments

Comments
 (0)