From e4b739320c810e0f3eaf81c2be96dd5fc9a9a922 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Tue, 27 Jun 2023 14:59:58 +0200 Subject: [PATCH] Run cargo update as part of release script (#3369) To get newest dependency patches and get rid of yanked deps Co-authored-by: Dessalines --- scripts/release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/release.sh b/scripts/release.sh index 2df168c4..02554d5d 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -34,6 +34,7 @@ old_tag=$(grep version Cargo.toml | head -1 | cut -d'"' -f 2) sed -i "s/{ version = \"=$old_tag\", path/{ version = \"=$new_tag\", path/g" Cargo.toml sed -i "s/version = \"$old_tag\"/version = \"$new_tag\"/g" Cargo.toml git add Cargo.toml +cargo update cargo check git add Cargo.lock popd -- 2.44.1