From 7ad9a75eebffd07a87388342b868518f6cf0861d Mon Sep 17 00:00:00 2001 From: Philipp Deppenwiese Date: Mon, 16 Jul 2018 22:02:03 +0200 Subject: [PATCH] Fix goreleaser 2 --- scripts/post.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/post.sh diff --git a/scripts/post.sh b/scripts/post.sh new file mode 100755 index 0000000..5794a9c --- /dev/null +++ b/scripts/post.sh @@ -0,0 +1,9 @@ +#!/bin/bash +UPX=$(which upx) + +set -e + +for file in dist/*/tpmtool +do + $UPX --best --ultra-brute "$file" +done