Skip to content

Commit aaec17e

Browse files
committed
add rust files to update version script
1 parent 2621f82 commit aaec17e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/update-versions

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ if [[ "$BUILD_TYPE" == "nightly" ]]; then
4242
sed -i '' "s/${VERSION}/${NEXT_VERSION}/g" "Rakefile"
4343
sed -i '' "s/${VERSION}.0/${NEXT_VERSION}.0-SNAPSHOT/g" "java/version.bzl"
4444
sed -i '' "s/${VERSION}.0/${NEXT_VERSION}.0.nightly/g" "rb/lib/selenium/webdriver/version.rb"
45+
sed -i '' "s/0.${VERSION}/0.${NEXT_VERSION}/g" "rust/BUILD.bazel"
46+
sed -i '' "s/0.${VERSION}/0.${NEXT_VERSION}/g" "rust/Cargo.Bazel.lock"
47+
sed -i '' "s/0.${VERSION}/0.${NEXT_VERSION}/g" "rust/Cargo.lock"
48+
sed -i '' "s/0.${VERSION}/0.${NEXT_VERSION}/g" "rust/Cargo.toml"
4549
else
4650
for file in "${FILES_TO_UPDATE[@]}"; do
4751
if [[ -f $file ]]; then
@@ -58,3 +62,7 @@ popd
5862
pushd javascript/node/selenium-webdriver
5963
npm install
6064
popd
65+
66+
pushd rust
67+
bundle CARGO_BAZEL_REPIN=true bazel sync --only=crates
68+
popd

0 commit comments

Comments
 (0)