cargo bump-versions properly updates the smoketests lockfile (#4462)

# Description of Changes

Previously `bump-versions` would push a failing commit because the
smoketests had a diff. This fixes that by having `bump-versions` update
that lockfile.

# API and ABI breaking changes

None.

# Expected complexity level and risk

1

# Testing

- [x] Ran `cargo bump-versions --all 3.0.0` and confirmed that the
lockfile was updated

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
This commit is contained in:
Zeke Foppa
2026-02-26 03:06:23 -08:00
committed by GitHub
parent 350066ab4c
commit bc4fcec6f3
+7
View File
@@ -220,6 +220,13 @@ fn main() -> anyhow::Result<()> {
println!("$> cargo check");
cmd!("cargo", "check").run().expect("Cargo check failed!");
// Update the lockfile in crates/smoketests/modules..
println!("$> cd crates/smoketests/modules && cargo check");
cmd!("cargo", "check")
.dir("crates/smoketests/modules")
.run()
.expect("cargo check in crates/smoketests/modules failed!");
println!("$> pnpm install");
cmd!("pnpm", "install").run().expect("pnpm run build failed!");