diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-31 08:36:53 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-31 08:43:35 +0530 |
commit | c7e2dc0005f55c921fa26edf130db75400d88c1d (patch) | |
tree | cf0d8ab3dafe1985b0d49ad0cab7d2cc24326851 | |
parent | 6b093f213f45d4a7201dd8b4235a7bd0fbc64952 (diff) | |
download | nnn-c7e2dc0005f55c921fa26edf130db75400d88c1d.tar.gz |
Upload static binary as package
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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: ; |