From ecaad7039d2f2e68c0b4885a712ea1837ea5be4d Mon Sep 17 00:00:00 2001 From: Babis Chalios Date: Wed, 16 Oct 2024 17:31:49 +0200 Subject: [PATCH] chore: don't update dependencies when with new vX.Y.0-dev version We want to do that before creating the release branch so that we can fix issues with new dependencies ahead of the release. Signed-off-by: Babis Chalios --- tools/bump-version.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/bump-version.sh b/tools/bump-version.sh index 31a99cadad6..fb5d3ef0d1e 100755 --- a/tools/bump-version.sh +++ b/tools/bump-version.sh @@ -19,7 +19,6 @@ $0 Bump Firecracker release version: 1. Updates Cargo.toml / Cargo.lock - 2. Runs 'cargo update' EOF exit 1 fi @@ -60,5 +59,5 @@ done # NOTE: This will break if it finds paths with spaces in them find . -path ./build -prune -o -name Cargo.lock -print |while read -r cargo_lock; do say "Updating $cargo_lock ..." - (cd "$(dirname "$cargo_lock")"; cargo check; cargo update) + (cd "$(dirname "$cargo_lock")"; cargo check) done