Makefile | 4 ++++ diff --git a/Makefile b/Makefile index 383f9849f4581d49b356989f6beb32b15ccbffdc..97f22ab31b116e479d2cc2fc7f48eeacb1874a15 100644 --- a/Makefile +++ b/Makefile @@ -199,6 +199,10 @@ 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 -zcf $(BIN)-static-$(VERSION).x86_64.tar.gz $(BIN)-static + # upx compress all static binaries + upx -qqq $(BIN)-static + upx -qqq $(BIN)-icons-static + upx -qqq $(BIN)-nerd-static # upload static binary curl -XPOST 'https://uploads.github.com/repos/jarun/nnn/releases/$(ID)/assets?name=$(BIN)-static-$(VERSION).x86_64.tar.gz' \ -H 'Authorization: token $(NNN_SIG_UPLOAD_TOKEN)' -H 'Content-Type: application/x-sharedlib' \