Skip to content

Commit eafe01e

Browse files
committed
fix: ensure vtcode-core/Cargo.toml is always committed
- Fix critical bug where vtcode-core/Cargo.toml changes from update_version were not committed - Always include vtcode-core/Cargo.toml in files_to_commit since update_version always modifies it - Prevent 'working directory contains uncommitted changes' error during publishing
1 parent 0cd51e7 commit eafe01e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,11 +557,11 @@ main() {
557557

558558
# 1. Update version in all package files
559559
update_version "$version"
560-
local files_to_commit="Cargo.toml"
560+
local files_to_commit="Cargo.toml vtcode-core/Cargo.toml"
561561

562562
if [ -n "$core_version" ]; then
563563
update_core_version "$core_version"
564-
files_to_commit="$files_to_commit vtcode-core/Cargo.toml"
564+
# vtcode-core/Cargo.toml is already in files_to_commit
565565
fi
566566

567567
# 2. Commit version changes FIRST (before publishing)

0 commit comments

Comments
 (0)