From 2042eace2ab4012206a7bd60d81c6b44448f8c14 Mon Sep 17 00:00:00 2001 From: David Peter Date: Sat, 25 Mar 2023 09:39:45 +0100 Subject: [PATCH] release checklist: fix command to find MSRV --- doc/release-checklist.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/release-checklist.md b/doc/release-checklist.md index 4a4bafdd..8a8bca88 100644 --- a/doc/release-checklist.md +++ b/doc/release-checklist.md @@ -5,7 +5,7 @@ - [ ] Update version in `Cargo.toml`. Run `cargo build` to update `Cargo.lock`. Make sure to `git add` the `Cargo.lock` changes as well. - [ ] Find the current min. supported Rust version by running - `grep '^\s*MIN_SUPPORTED_RUST_VERSION' .github/workflows/CICD.yml`. + `cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].rust_version'`. - [ ] Update the version and the min. supported Rust version in `README.md` and `doc/README-*.md`. Check with `git grep -i -e 'rust.*1\.' -e '1\..*rust' | grep README | grep -v tests/`. @@ -70,4 +70,4 @@ ## `bat` as a library -``` \ No newline at end of file +```