From be99b759d36a6934bfca89b4b591f0fa6b906d65 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Mon, 9 May 2022 08:36:24 +0200 Subject: [PATCH] release-checklist.md: Recommend `--locked` for `cargo install` So that the command will not fail if you are using the MSRV toolchain and the latest version of a dependency happens to have a higher MSRV than we do. --- doc/release-checklist.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/release-checklist.md b/doc/release-checklist.md index 9212b407..7daf1818 100644 --- a/doc/release-checklist.md +++ b/doc/release-checklist.md @@ -13,7 +13,7 @@ ## Update syntaxes and themes (build assets) -- [ ] Install the latest master version (`cargo clean && cargo install -f --path .`) and make +- [ ] Install the latest master version (`cargo clean && cargo install --locked -f --path .`) and make sure that it is available on the `PATH` (`bat --version` should show the new version). - [ ] Run `assets/create.sh` and check in the binary asset files.