1
1
Fork 0
forked from suyu/suyu

Use gzip instead of lzma on macOS and linux releases

A common report from macOS users is they can't figure out how to unzip the
program. This will allow them to double click to unzip the archive which
is what users on macOS expect.
This commit is contained in:
James Rowe 2017-02-23 10:01:50 -07:00
parent a7360f2642
commit c4de706ace

View file

@ -118,8 +118,8 @@ EOL
cp license.txt "$REV_NAME" cp license.txt "$REV_NAME"
cp README.md "$REV_NAME" cp README.md "$REV_NAME"
ARCHIVE_NAME="${REV_NAME}.tar.xz" ARCHIVE_NAME="${REV_NAME}.tar.gz"
tar -cJvf "$ARCHIVE_NAME" "$REV_NAME" tar -czvf "$ARCHIVE_NAME" "$REV_NAME"
# move the compiled archive into the artifacts directory to be uploaded by travis releases # move the compiled archive into the artifacts directory to be uploaded by travis releases
mv "$ARCHIVE_NAME" artifacts/ mv "$ARCHIVE_NAME" artifacts/