Added compressed binaries for download managers and better file size

This commit is contained in:
Mike Farah 2020-12-21 21:40:08 +11:00
parent 6b17fd4fc1
commit 57cd67f055

View File

@ -11,4 +11,14 @@ CGO_ENABLED=0 gox -ldflags "${LDFLAGS}" -os=linux -output="build/yq_{{.OS}}_{{.
cd build
rhash -r -a . -P -o checksums
rhash --list-hashes > checksums_hashes_order
rhash --list-hashes > checksums_hashes_order
gzip -k --best *
rm checksums_hashes_order.gz
rm checksums.gz
rm yq_windows_386.exe.gz
rm yq_windows_amd64.exe.gz
zip yq_windows_386.zip yq_windows_386.exe
zip yq_windows_amd64.zip yq_windows_amd64.exe