aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-13 15:18:56 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-13 15:18:56 +0530
commit80545534a99044f457d08024480d7e0827acbde3 (patch)
tree93f74167a548b4b5ca3cb3ad15980bcdf659ec82
parent4ffb42c73eb1f00acaf055f832dd2364bba2f4d4 (diff)
downloadnnn-80545534a99044f457d08024480d7e0827acbde3.tar.gz
Fix #474: explicitly indicate gzip to tar
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1fac552..5fd48c5 100644
--- 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