Bump the OSDK's Cargo.lock when bumping the versions

This commit is contained in:
Zhang Junyang
2024-09-20 16:24:13 +08:00
committed by Tate, Hongliang Tian
parent b9808136a4
commit 8b2ca77804
2 changed files with 4 additions and 3 deletions

View File

@ -131,8 +131,9 @@ update_package_version ${OSDK_CARGO_TOML_PATH}
update_package_version ${OSDK_TEST_RUNNER_CARGO_TOML_PATH}
update_dep_version ${OSDK_TEST_RUNNER_CARGO_TOML_PATH} ostd
# Automatically bump Cargo.lock file
cargo update -p aster-nix --precise $new_version
# Automatically bump Cargo.lock files
cargo update -p aster-nix --precise $new_version # For Cargo.lock
cd osdk && cargo update -p cargo-osdk --precise $new_version # For osdk/Cargo.lock
# Update Docker image versions in README files
update_image_versions ${ASTER_SRC_DIR}/README.md