Remove version hardcoding

This commit is contained in:
Andras Schmelczer 2026-10-28 10:44:51 +00:00
commit 1b5794bc51

View file

@ -2,12 +2,6 @@
set -e
VERSION=$(grep '^version = ' Cargo.toml | head -1 | sed 's/version = "\(.*\)"/\1/')
if ! grep -Fxq "reconcile-text = \"$VERSION\"" README.md; then
echo "README.md must use the Cargo.toml version ($VERSION) in the Rust installation example."
exit 1
fi
which cargo-machete || cargo install cargo-machete
cargo machete