commit 80545534a99044f457d08024480d7e0827acbde3
parent 4ffb42c73eb1f00acaf055f832dd2364bba2f4d4
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Thu, 13 Feb 2020 15:18:56 +0530
Fix #474: explicitly indicate gzip to tar
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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