From: Nutomic Date: Tue, 27 Jun 2023 12:59:58 +0000 (+0200) Subject: Run cargo update as part of release script (#3369) X-Git-Url: http://these/git/%7B%27/docs/static/git-logo.png?a=commitdiff_plain;h=e4b739320c810e0f3eaf81c2be96dd5fc9a9a922;p=lemmy.git Run cargo update as part of release script (#3369) To get newest dependency patches and get rid of yanked deps Co-authored-by: Dessalines --- 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