aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrust/codegen_openapi2.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/rust/codegen_openapi2.sh b/rust/codegen_openapi2.sh
index f93322ff..d815846b 100755
--- a/rust/codegen_openapi2.sh
+++ b/rust/codegen_openapi2.sh
@@ -36,6 +36,7 @@ rm -rf api/
echo "Running cargo-fmt (final time)..."
cargo fmt
-cp Cargo.toml Cargo.toml.new
+cp Cargo.toml Cargo.toml.codegen
git checkout Cargo.toml
-echo "Make sure to review/merge fatcat-openapi/Cargo.toml by hand (compare with fatcat-openapi/Cargo.toml.new)"
+diff Cargo.toml Cargo.toml.codegen && true
+echo "Check the above diff for non-metadata changes to fatcat-openapi/Cargo.toml"