mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-10 06:54:12 +00:00
Run cargo update as part of release script (#3369)
To get newest dependency patches and get rid of yanked deps Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
This commit is contained in:
parent
ad6f244b61
commit
e4b739320c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue