]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix #474: explicitly indicate gzip to tar
authorArun Prakash Jana <engineerarun@gmail.com>
Thu, 13 Feb 2020 09:48:56 +0000 (15:18 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 13 Feb 2020 09:48:56 +0000 (15:18 +0530)
Makefile

index 1fac55236878215a24ff0c5a49502ffacc6b3448..5fd48c5690b34339df04b66fd6f2aee12577a68c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,7 @@ upload-local: sign static
        curl -XPOST 'https://uploads.github.com/repos/jarun/nnn/releases/$(ID)/assets?name=nnn-$(VERSION).tar.gz.sig' \
            -H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: application/pgp-signature' \
            --upload-file nnn-$(VERSION).tar.gz.sig
-       tar -cf $(BIN)-static-$(VERSION).x86-64.tar.gz $(BIN)-static
+       tar -zcf $(BIN)-static-$(VERSION).x86-64.tar.gz $(BIN)-static
        curl -XPOST 'https://uploads.github.com/repos/jarun/nnn/releases/$(ID)/assets?name=nnn-$(VERSION)-static-$(VERSION).x86-64.tar.gz' \
            -H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: application/x-sharedlib' \
            --upload-file $(BIN)-static-$(VERSION).x86-64.tar.gz