Update release script to regenerate Cargo.lock after version bump

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-15 18:50:43 -04:00
parent b1ab7bbe66
commit 168de2a070

View file

@ -41,7 +41,10 @@ fi
sed -i '' "s/^version = \"$current_version\"/version = \"$new_version\"/" "$CARGO_TOML"
echo "Updated $CARGO_TOML"
git add "$CARGO_TOML"
cargo update --workspace
echo "Updated Cargo.lock"
git add "$CARGO_TOML" Cargo.lock
git commit -m "Bump version to $new_version"
git tag -a "$tag" -m "$tag"
git push origin main "$tag"