fix: sync Cargo.lock when version changes (#302)
Update sync-version.js to also run `cargo update -p agent-browser` after updating Cargo.toml, keeping Cargo.lock in sync. Also update pre-commit hook to stage Cargo.lock along with Cargo.toml. This commit also brings Cargo.lock up to date (was stuck at 0.7.6).
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
pnpm lint-staged
|
||||
node scripts/sync-version.js
|
||||
git add cli/Cargo.toml
|
||||
git add cli/Cargo.toml cli/Cargo.lock
|
||||
|
||||
Reference in New Issue
Block a user