skip upx for darwin

This commit is contained in:
bakito 2024-03-24 18:58:19 +01:00
parent 1c4ea24da1
commit bbf5d2d178
No known key found for this signature in database
GPG key ID: BCCEB081DB8A24D8

View file

@ -30,7 +30,7 @@ builds:
hooks: hooks:
post: post:
# don't upx windows binaries as they make trouble with virus scanners # 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: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
snapshot: snapshot: