From a12c3b56a9530de0eaee0f53ced6bd9a5ce941b0 Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Wed, 27 Mar 2024 18:45:51 +0100 Subject: [PATCH] [build] Moving versions to nightly --- Rakefile | 9 +++++++-- java/version.bzl | 2 +- py/BUILD.bazel | 2 +- py/docs/source/conf.py | 4 ++-- py/selenium/__init__.py | 2 +- py/selenium/webdriver/__init__.py | 2 +- py/setup.py | 2 +- rb/lib/selenium/webdriver/version.rb | 2 +- rust/BUILD.bazel | 2 +- rust/Cargo.Bazel.lock | 10 +++++----- rust/Cargo.lock | 2 +- rust/Cargo.toml | 2 +- 12 files changed, 23 insertions(+), 18 deletions(-) diff --git a/Rakefile b/Rakefile index 0223e0b778bdc..8af9c6579628c 100644 --- a/Rakefile +++ b/Rakefile @@ -640,7 +640,12 @@ namespace :py do # to start doing nightly builds. new_version = old_version + ".dev#{Time.now.strftime("%Y%m%d%H%M")}" else - new_version = updated_version(old_version.gsub(/\.dev\d+$/, ''), arguments[:version]) + if old_version.include?('.dev') + new_version = old_version.gsub(/\.dev\d+$/, '') + else + new_version = updated_version(old_version.gsub(/\.dev\d+$/, ''), arguments[:version]) + new_version = new_version + ".dev#{Time.now.strftime("%Y%m%d%H%M")}" + end end ['py/setup.py', @@ -658,7 +663,7 @@ namespace :py do text = File.read('py/docs/source/conf.py').gsub(old_short_version, new_short_version) File.open('py/docs/source/conf.py', "w") { |f| f.puts text } - Rake::Task['py:changelog'].invoke unless new_version.include?('nightly') || bump_nightly + Rake::Task['py:changelog'].invoke unless new_version.include?('.dev') || bump_nightly end desc 'Update Python Syntax' diff --git a/java/version.bzl b/java/version.bzl index 84bf4814f1279..9ded87646f9cf 100644 --- a/java/version.bzl +++ b/java/version.bzl @@ -1,2 +1,2 @@ -SE_VERSION = "4.19.0" +SE_VERSION = "4.20.0-SNAPSHOT" TOOLS_JAVA_VERSION = "17" diff --git a/py/BUILD.bazel b/py/BUILD.bazel index 7b59c9bc2c795..256a08af86e89 100644 --- a/py/BUILD.bazel +++ b/py/BUILD.bazel @@ -40,7 +40,7 @@ compile_pip_requirements( ], ) -SE_VERSION = "4.19.0" +SE_VERSION = "4.20.0.dev202403271845" BROWSER_VERSIONS = [ "v85", diff --git a/py/docs/source/conf.py b/py/docs/source/conf.py index aa001ffd1b07a..4b20185d79b83 100644 --- a/py/docs/source/conf.py +++ b/py/docs/source/conf.py @@ -56,9 +56,9 @@ # built documents. # # The short X.Y version. -version = '4.19' +version = '4.20' # The full version, including alpha/beta/rc tags. -release = '4.19.0' +release = '4.20.0.dev202403271845' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/py/selenium/__init__.py b/py/selenium/__init__.py index d561986493cd4..0b45db89b2ee4 100644 --- a/py/selenium/__init__.py +++ b/py/selenium/__init__.py @@ -16,4 +16,4 @@ # under the License. -__version__ = "4.19.0" +__version__ = "4.20.0.dev202403271845" diff --git a/py/selenium/webdriver/__init__.py b/py/selenium/webdriver/__init__.py index bca431203c94d..43bdc023d404a 100644 --- a/py/selenium/webdriver/__init__.py +++ b/py/selenium/webdriver/__init__.py @@ -44,7 +44,7 @@ from .wpewebkit.service import Service as WPEWebKitService # noqa from .wpewebkit.webdriver import WebDriver as WPEWebKit # noqa -__version__ = "4.19.0" +__version__ = "4.20.0.dev202403271845" # We need an explicit __all__ because the above won't otherwise be exported. __all__ = [ diff --git a/py/setup.py b/py/setup.py index 27fb5e9958c34..b44d0799af435 100755 --- a/py/setup.py +++ b/py/setup.py @@ -27,7 +27,7 @@ setup_args = { 'cmdclass': {'install': install}, 'name': 'selenium', - 'version': "4.19.0", + 'version': "4.20.0.dev202403271845", 'license': 'Apache 2.0', 'description': 'Python bindings for Selenium', 'long_description': open(join(abspath(dirname(__file__)), "README.rst")).read(), diff --git a/rb/lib/selenium/webdriver/version.rb b/rb/lib/selenium/webdriver/version.rb index 87a613b438371..e170e4d2b7931 100644 --- a/rb/lib/selenium/webdriver/version.rb +++ b/rb/lib/selenium/webdriver/version.rb @@ -19,6 +19,6 @@ module Selenium module WebDriver - VERSION = '4.19.0' + VERSION = '4.20.0.nightly' end # WebDriver end # Selenium diff --git a/rust/BUILD.bazel b/rust/BUILD.bazel index b02e206f90c9d..5010622427e47 100644 --- a/rust/BUILD.bazel +++ b/rust/BUILD.bazel @@ -77,7 +77,7 @@ rust_binary( name = "selenium-manager", srcs = ["src/main.rs"], edition = "2021", - version = "0.4.19", + version = "0.4.20-nightly", visibility = ["//visibility:public"], deps = [ ":selenium_manager", diff --git a/rust/Cargo.Bazel.lock b/rust/Cargo.Bazel.lock index 03d1b78dea56c..23f1827dca13e 100644 --- a/rust/Cargo.Bazel.lock +++ b/rust/Cargo.Bazel.lock @@ -1,5 +1,5 @@ { - "checksum": "c92c30dfcee338ee7a89723929f757bb27727238576facf2e007922d5f3b8643", + "checksum": "429663180e806b5eded3d78e76d2e9fcf145a9daa6790b6faa598196d2c64103", "crates": { "addr2line 0.19.0": { "name": "addr2line", @@ -11135,9 +11135,9 @@ ], "license_file": "LICENSE" }, - "selenium-manager 0.4.19": { + "selenium-manager 0.4.20-nightly": { "name": "selenium-manager", - "version": "0.4.19", + "version": "0.4.20-nightly", "package_url": "https://github.com/SeleniumHQ/selenium", "repository": null, "targets": [ @@ -11270,7 +11270,7 @@ "selects": {} }, "edition": "2021", - "version": "0.4.19" + "version": "0.4.20-nightly" }, "license": "Apache-2.0", "license_ids": [ @@ -17916,7 +17916,7 @@ }, "binary_crates": [], "workspace_members": { - "selenium-manager 0.4.19": "rust" + "selenium-manager 0.4.20-nightly": "rust" }, "conditions": { "aarch64-apple-darwin": [ diff --git a/rust/Cargo.lock b/rust/Cargo.lock index b0bcdd796bc94..55b710fa5bf6c 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -1680,7 +1680,7 @@ dependencies = [ [[package]] name = "selenium-manager" -version = "0.4.19" +version = "0.4.20-nightly" dependencies = [ "anyhow", "apple-flat-package", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 1361adbc186b8..5d34733c29f69 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "selenium-manager" -version = "0.4.19" # don't forget to update rust/BUILD.bazel +version = "0.4.20-nightly" # don't forget to update rust/BUILD.bazel edition = "2021" authors = ["Selenium