]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix static file upload
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 12 Feb 2020 03:02:49 +0000 (08:32 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Wed, 12 Feb 2020 03:02:49 +0000 (08:32 +0530)
Makefile

index b1ed9785de41cb4eeeaff2fe1fce277fa30b3da0..1fac55236878215a24ff0c5a49502ffacc6b3448 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 -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-$(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