Use known-working versions for tests (#900)

This commit is contained in:
Félix Saparelli 2023-03-13 18:11:29 +13:00 committed by GitHub
parent 5f1d5ce559
commit e89b8e2463
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View file

@ -14,19 +14,19 @@ cp "./$1" "$CARGO_HOME/bin"
# now we're running the CARGO_HOME/bin/cargo-binstall (via cargo):
# self update replacing no-symlinks with no-symlinks
cargo binstall --no-confirm --no-symlinks --force cargo-binstall
cargo binstall --no-confirm --no-symlinks --force cargo-binstall@0.20.1
# self update replacing no-symlinks with symlinks
cp "./$1" "$CARGO_HOME/bin"
cargo binstall --no-confirm --force cargo-binstall
cargo binstall --no-confirm --force cargo-binstall@0.20.1
# self update replacing symlinks with symlinks
ln -snf "$(pwd)/cargo-binstall" "$CARGO_HOME/bin/cargo-binstall"
cargo binstall --no-confirm --force cargo-binstall
cargo binstall --no-confirm --force cargo-binstall@0.20.1
# self update replacing symlinks with no-symlinks
ln -snf "$(pwd)/cargo-binstall" "$CARGO_HOME/bin/cargo-binstall"
cargo binstall --no-confirm --force --no-symlinks cargo-binstall
cargo binstall --no-confirm --force --no-symlinks cargo-binstall@0.20.1