mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-19 20:18:43 +00:00
Revert Cargo.toml to {format} to allow self-upgrade
This commit is contained in:
parent
232a4c06a9
commit
7a1d8b42dd
2 changed files with 3 additions and 3 deletions
|
@ -10,8 +10,8 @@ license = "GPL-3.0"
|
|||
|
||||
|
||||
[package.metadata.binstall]
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-format }"
|
||||
bin-dir = "{ bin }{ binary-ext }"
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ format }"
|
||||
bin-dir = "{ bin }{ format }"
|
||||
|
||||
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
|
||||
pkg-fmt = "zip"
|
||||
|
|
|
@ -165,7 +165,7 @@ mod test {
|
|||
|
||||
assert_eq!(
|
||||
&meta.pkg_url,
|
||||
"{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-format }"
|
||||
"{ repo }/releases/download/v{ version }/{ name }-{ target }.{ format }"
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
|
|
Loading…
Add table
Reference in a new issue