Update cargo-binstall@latest to 0.18.0

This commit is contained in:
Taiki Endo
2022-12-12 23:26:16 +09:00
parent a252073294
commit f80dd34cc7
2 changed files with 2 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased] ## [Unreleased]
- Update `shfmt@latest` to 3.6.0. - Update `shfmt@latest` to 3.6.0.
- Update `cargo-binstall@latest` to 0.18.0.
- Support installing `cargo-binstall` on linux with custom host targets such as x86_64-alpine-linux-musl. - Support installing `cargo-binstall` on linux with custom host targets such as x86_64-alpine-linux-musl.
## [1.15.3] - 2022-12-11 ## [1.15.3] - 2022-12-11

View File

@@ -80,7 +80,7 @@ host_triple() {
} }
install_cargo_binstall() { install_cargo_binstall() {
# https://github.com/cargo-bins/cargo-binstall/releases # https://github.com/cargo-bins/cargo-binstall/releases
local binstall_version="0.17.0" local binstall_version="0.18.0"
local install_binstall='1' local install_binstall='1'
if [[ -f "${cargo_bin}/cargo-binstall${exe}" ]]; then if [[ -f "${cargo_bin}/cargo-binstall${exe}" ]]; then
if [[ "$(cargo binstall -V)" == "cargo-binstall ${binstall_version}" ]]; then if [[ "$(cargo binstall -V)" == "cargo-binstall ${binstall_version}" ]]; then