nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c7e2dc0005f55c921fa26edf130db75400d88c1d
parent 6b093f213f45d4a7201dd8b4235a7bd0fbc64952
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Fri, 31 Jan 2020 08:36:53 +0530

Upload static binary as package

Diffstat:
MMakefile | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -117,12 +117,14 @@ 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 curl -XPOST 'https://uploads.github.com/repos/jarun/nnn/releases/$(ID)/assets?name=nnn-$(VERSION)-static' \ -H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: application/x-sharedlib' \ - --upload-file $(BIN)-static + --upload-file $(BIN)-static-$(VERSION).x86-64.tar.gz clean: - $(RM) -f $(BIN) $(BIN)-static nnn-$(VERSION).tar.gz *.sig + $(RM) -f $(BIN) nnn-$(VERSION).tar.gz *.sig \ + $(BIN)-static $(BIN)-static-$(VERSION).x86-64.tar.gz skip: ;