Files
ctrld/scripts/upx.sh
Cuong Manh Le f13f61592c Add upx to goreleaser builds
Reducing the size of the final binaries, except for darwin, where the
packed binaries failed to run.
2023-02-13 21:58:45 +07:00

8 lines
93 B
Bash
Executable File

#!/bin/sh
set -ex
for dist_dir in ./dist/ctrld*; do
upx --brute "${dist_dir}/ctrld"
done