commit f6e7dbf6f96f72311df564a8362b1f073c3e4194
parent bc7a81921ed974a408d4de2cbfb537fb9b45908e
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Wed, 12 Feb 2020 08:32:49 +0530
Fix static file upload
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -118,7 +118,7 @@ upload-local: sign static
-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
- curl -XPOST 'https://uploads.github.com/repos/jarun/nnn/releases/$(ID)/assets?name=nnn-$(VERSION)-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