aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-12 08:32:49 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-12 08:32:49 +0530
commitf6e7dbf6f96f72311df564a8362b1f073c3e4194 (patch)
tree6c95a59400a834c4d5b8572a5b6c0db33ee84f15
parentbc7a81921ed974a408d4de2cbfb537fb9b45908e (diff)
downloadnnn-f6e7dbf6f96f72311df564a8362b1f073c3e4194.tar.gz
Fix static file upload
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b1ed978..1fac552 100644
--- 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