Browse Source

Upload static binary as package

master
Arun Prakash Jana 4 years ago
parent
commit
c7e2dc0005
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      Makefile

+ 4
- 2
Makefile View File

@@ -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' \ 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' \ -H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: application/pgp-signature' \
--upload-file nnn-$(VERSION).tar.gz.sig --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' \
-H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: application/x-sharedlib' \ -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: 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: ; skip: ;




Loading…
Cancel
Save