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.
This commit is contained in:
Martin Nordholts 2022-05-09 08:36:24 +02:00
parent 5f7ae6b277
commit be99b759d3

View File

@ -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.