Skip to content

Commit

Permalink
fix: use correct url for cargo-binstall (#700)
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
willemneal authored Jun 15, 2023
1 parent 1ff4e4a commit 5dd0ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down

0 comments on commit 5dd0ea8

Please sign in to comment.