#124 don't upx windows binaries as they make trouble with virus scanners

This commit is contained in:
bakito 2022-11-18 18:50:42 +01:00
parent 5957bd0fde
commit 30706e5a30
No known key found for this signature in database
GPG key ID: BCCEB081DB8A24D8

View file

@ -28,7 +28,9 @@ builds:
- goos: windows
goarch: arm64
hooks:
post: upx {{ .Path }}
post:
# don't upx windows binaries as they make trouble with virus scanners
- bash -c 'if [[ "{{ .Path }}" != *.exe ]]; then upx {{ .Path }}; fi'
archives:
- replacements:
386: i386
@ -44,4 +46,4 @@ changelog:
- '^docs:'
- '^test:'
release:
prerelease: auto
prerelease: auto