diff --git a/packages/git-cliff/download.sh b/packages/git-cliff/download.sh index f1d1724..cf6c77b 100644 --- a/packages/git-cliff/download.sh +++ b/packages/git-cliff/download.sh @@ -5,7 +5,7 @@ set -euo pipefail download-asset get \ --owner-repo "orhun/git-cliff" \ --pattern "git-cliff-{{.Ver}}-x86_64-unknown-linux-gnu.{{.Ext}}" \ - --archive-path "git-cliff" \ + --archive-path "git-cliff-{{.Ver}}/git-cliff" \ --write-to-bin "git-cliff_amd64" \ ; @@ -13,7 +13,7 @@ download-asset get \ download-asset get \ --owner-repo "orhun/git-cliff" \ --pattern "git-cliff-{{.Ver}}-aarch64-unknown-linux-gnu.{{.Ext}}" \ - --archive-path "git-cliff" \ + --archive-path "git-cliff-{{.Ver}}/git-cliff" \ --write-to-bin "git-cliff_arm64" \ ; @@ -21,7 +21,7 @@ download-asset get \ download-asset get \ --owner-repo "orhun/git-cliff" \ --pattern "git-cliff-{{.Ver}}-x86_64-unknown-linux-musl.{{.Ext}}" \ - --archive-path "git-cliff" \ + --archive-path "git-cliff-{{.Ver}}/git-cliff" \ --write-to-bin "git-cliff_musl_amd64" \ ; @@ -29,6 +29,6 @@ download-asset get \ download-asset get \ --owner-repo "orhun/git-cliff" \ --pattern "git-cliff-{{.Ver}}-aarch64-unknown-linux-musl.{{.Ext}}" \ - --archive-path "git-cliff" \ + --archive-path "git-cliff-{{.Ver}}/git-cliff" \ --write-to-bin "git-cliff_musl_arm64" \ ;