File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
docs/devbook/upgrade-repository-dependencies Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 22
33# get command line arguments to pass them to `cargo upgrade` command
44# By default, we allow upgrading all dependencies to the latest one.
5- # If you want to upgrade only to the compatible version, launch script with option `--compatbile `
5+ # If you want to upgrade only to the compatible version, launch script with option `--compatible `
66CARGO_UPGRADE_OPTIONS=${*:- " --incompatible" }
77
88# Need to install `cargo-edit` to execute `cargo upgrade` and `cargo set-version` commands
99
10+ # Update Rust dependencies
11+ cargo update
12+ git commit -am " chore: update Rust dependencies"
13+
1014# Upgrade Rust outdated dependencies
1115cargo upgrade " ${CARGO_UPGRADE_OPTIONS} " --verbose
12- cargo update
1316# Let the CI run the tests at the end of the script
1417# cargo test --all-features
15- git commit -am " chore: update Rust dependencies"
18+ git commit -am " chore: upgrade Rust dependencies"
1619
1720# Bump Rust crates versions
1821cargo set-version --bump patch
You can’t perform that action at this time.
0 commit comments