chiark / gitweb /
update-versions: Print a message about the lockfile
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Apr 2021 20:57:42 +0000 (21:57 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 18 Apr 2021 20:57:42 +0000 (21:57 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
update-versions

index 954dddfced6ae5a327cd800c02f7d95cc52a5c7b..a580b43633f8b05264362522452c2bb6507a6300 100755 (executable)
@@ -38,3 +38,10 @@ git commit -s -m "Cargo.toml: Update all versions to $version
 
 Commit made automatically by update-versions.
 " $files
+
+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.
+END