diff options
| author | jantuomi <jans.tuomi@gmail.com> | 2016-08-02 14:03:05 +0300 |
|---|---|---|
| committer | jantuomi <jans.tuomi@gmail.com> | 2016-08-02 14:03:05 +0300 |
| commit | a84e59f7763c73f55496a77b775cc858a5382bb0 (patch) | |
| tree | 353ef5fdf4b6455fcdd2c8acb351f7a4b962bf6c | |
| parent | f8e8d118bfdac6caeb76f0c7a120c20247c3c13c (diff) | |
Create .tar.gz instead of a .tar ball
| -rwxr-xr-x | build.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -43,11 +43,13 @@ echo 'java -jar tunkki.jar $@' >> "bin/tunkki" chmod +x "bin/tunkki" +# Create tarball +TARBALL="$RELEASE.tar.gz" cd .. echo "Creating tarball..." -tar cvf "$RELEASE.tar" "$RELEASE" +tar zcvf "$TARBALL" "$RELEASE" echo "Done." echo "Installation directory: $TARGET/$RELEASE" -echo "Installation package: $TARGET/$RELEASE.tar" +echo "Installation package: $TARGET/$TARBALL" cd .. |
