Skip to content

Commit

Permalink
add rust files to update version script
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Nov 5, 2023
1 parent 2621f82 commit aaec17e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/update-versions
Expand Up @@ -42,6 +42,10 @@ if [[ "$BUILD_TYPE" == "nightly" ]]; then
sed -i '' "s/${VERSION}/${NEXT_VERSION}/g" "Rakefile"
sed -i '' "s/${VERSION}.0/${NEXT_VERSION}.0-SNAPSHOT/g" "java/version.bzl"
sed -i '' "s/${VERSION}.0/${NEXT_VERSION}.0.nightly/g" "rb/lib/selenium/webdriver/version.rb"
sed -i '' "s/0.${VERSION}/0.${NEXT_VERSION}/g" "rust/BUILD.bazel"
sed -i '' "s/0.${VERSION}/0.${NEXT_VERSION}/g" "rust/Cargo.Bazel.lock"
sed -i '' "s/0.${VERSION}/0.${NEXT_VERSION}/g" "rust/Cargo.lock"
sed -i '' "s/0.${VERSION}/0.${NEXT_VERSION}/g" "rust/Cargo.toml"
else
for file in "${FILES_TO_UPDATE[@]}"; do
if [[ -f $file ]]; then
Expand All @@ -58,3 +62,7 @@ popd
pushd javascript/node/selenium-webdriver
npm install
popd

pushd rust
bundle CARGO_BAZEL_REPIN=true bazel sync --only=crates
popd

0 comments on commit aaec17e

Please sign in to comment.