diff --git a/.goreleaser.yml b/.goreleaser.yml index 92aa58d..1948eef 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 \ No newline at end of file + prerelease: auto