use 7z cause travis apparently does not have zip

This commit is contained in:
phiresky 2019-06-18 23:49:36 +02:00
parent e4c0cb8349
commit ecf21584d5

View File

@ -81,7 +81,7 @@ mk_tarball() {
if is_windows; then if is_windows; then
(cd "$tmpdir" && download_other_binaries "$name") (cd "$tmpdir" && download_other_binaries "$name")
(cd "$tmpdir" && zip -r "$out_dir/$name.zip" "$name") (cd "$tmpdir" && 7za a "$out_dir/$name.7z" "$name")
else else
(cd "$tmpdir" && tar czf "$out_dir/$name.tar.gz" "$name") (cd "$tmpdir" && tar czf "$out_dir/$name.tar.gz" "$name")
fi fi