From bbf5d2d1786fc2ee15c90c854099ea2953c37f49 Mon Sep 17 00:00:00 2001 From: bakito Date: Sun, 24 Mar 2024 18:58:19 +0100 Subject: [PATCH] skip upx for darwin --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index d0263d8..2802f0c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -30,7 +30,7 @@ builds: hooks: post: # don't upx windows binaries as they make trouble with virus scanners - - bash -c 'if [[ "{{ .Path }}" != *.exe ]]; then upx {{ .Path }}; fi' + - bash -c 'if [[ "{{ .Path }}" != *.exe ]] && [[ "{{ .Path }}" != *darwin* ]]; then upx {{ .Path }}; fi' checksum: name_template: 'checksums.txt' snapshot: