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: