]> Untitled Git - lemmy.git/commitdiff
Run cargo update as part of release script (#3369)
authorNutomic <me@nutomic.com>
Tue, 27 Jun 2023 12:59:58 +0000 (14:59 +0200)
committerGitHub <noreply@github.com>
Tue, 27 Jun 2023 12:59:58 +0000 (08:59 -0400)
To get newest dependency patches and get rid of yanked deps

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
scripts/release.sh

index 2df168c4316241bf199d903a089e64f5e07f34e9..02554d5d885d60ff859c4ee9bdc742f9a157835a 100755 (executable)
@@ -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