mirror of
https://github.com/sharkdp/fd.git
synced 2026-10-11 22:30:00 +00:00
fix: point cargo-binstall at the fd release asset
`{ name }` renders as the crate name, so cargo-binstall looked for
`fd-find-v10.5.0-<target>.tar.gz`, got a 404, and fell back to the
QuickInstall mirror. The assets are named `fd-v<version>-<target>`.
`{ bin }` is not available in `pkg-url`, so the name is spelled out.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
- Accept `--format` templates that start with `-` when passed as a separate argument, see #2126 (@vulragrag-star)
|
||||
- Don't incorrectly escape newlines in error messages, see #2104
|
||||
- Restore jemalloc as default allocator on supported systems
|
||||
- Fix the `cargo binstall` release URL, which named the crate (`fd-find`) instead of the binary (`fd`) and fell back to a third-party mirror
|
||||
|
||||
# 10.5.0
|
||||
|
||||
|
||||
+1
-1
@@ -98,7 +98,7 @@ base = ["use-jemalloc"]
|
||||
default = ["use-jemalloc", "completions"]
|
||||
|
||||
[package.metadata.binstall]
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }.{ archive-format }"
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/fd-v{ version }-{ target }.{ archive-format }"
|
||||
bin-dir = "{ bin }-v{ version }-{ target }/{ bin }{ binary-ext }"
|
||||
pkg-fmt = "tgz"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user