diff --git a/.goreleaser.yml b/.goreleaser.yml index f8e2840..b73b058 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,11 +15,11 @@ builds: - linux goarch: - - 386 - amd64 hooks: - post: /bin/bash upx.sh + post: + - upx --best "{{ .Path }}" env_files: github_token: ~/.config/goreleaser/github_token_custom diff --git a/upx.sh b/upx.sh deleted file mode 100644 index cf20b68..0000000 --- a/upx.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -set -ex - -for binary in $(ls dist/speedtest-*/speedtest-*) -do - upx --brute $binary & -done - -wait