chiark / gitweb /
update-versions: Do a better thing about the lockfile
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Apr 2021 20:59:36 +0000 (21:59 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Apr 2021 20:59:48 +0000 (21:59 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
update-versions

index a580b43633f8b05264362522452c2bb6507a6300..a581bca509addf235f7a557f713e1c2c62c888ce 100755 (executable)
@@ -39,9 +39,9 @@ git commit -s -m "Cargo.toml: Update all versions to $version
 Commit made automatically by update-versions.
 " $files
 
+nailing-cargo update -p otter-base
+
 cat <<END
-Cargo.toml versions updated but Cargo.lock will be out of date now!
-Suggest
-   cargo update -p <some package that has not changed>
-and commit the result.
+Cargo.toml versions updated and committed.
+Cargo.lock updates made but *not* committed.  They must be reviewed!
 END