Remove version hardcoding
This commit is contained in:
parent
ff0c33fcc9
commit
1b5794bc51
1 changed files with 6 additions and 17 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue