]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix static package name in repo
authorArun Prakash Jana <engineerarun@gmail.com>
Thu, 13 Feb 2020 11:08:06 +0000 (16:38 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 13 Feb 2020 11:08:06 +0000 (16:38 +0530)
Makefile

index 5fd48c5690b34339df04b66fd6f2aee12577a68c..6190823b306fc18f00eb9e1ebf4002e8842cf610 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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 -zcf $(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-$(VERSION).x86-64.tar.gz' \
+       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' \
            --upload-file $(BIN)-static-$(VERSION).x86-64.tar.gz