From 5dd0ea860864e8def862b00b2825b70791512193 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Thu, 15 Jun 2023 11:05:17 -0400 Subject: [PATCH] fix: use correct url for cargo-binstall (#700) Currently the following works for installing from binary: ``` cargo binstall \ --pkg-url "{ repo }/releases/download/v{ version }/{ name }-{ version }-{ target }{ archive-suffix }" \ --force \ soroban-cli ``` --- cmd/soroban-cli/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soroban-cli/Cargo.toml b/cmd/soroban-cli/Cargo.toml index ae6a4c551..10e6f3109 100644 --- a/cmd/soroban-cli/Cargo.toml +++ b/cmd/soroban-cli/Cargo.toml @@ -17,7 +17,7 @@ name = "soroban" path = "src/bin/main.rs" [package.metadata.binstall] -pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-suffix }" +pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ version }-{ target }{ archive-suffix }" bin-dir = "{ bin }{ binary-ext }" [[bin]]