Fix static file upload

This commit is contained in:
Arun Prakash Jana 2020-02-12 08:32:49 +05:30
parent bc7a81921e
commit f6e7dbf6f9
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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