Skip to content

Commit

Permalink
[build] Moving versions to nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Mar 27, 2024
1 parent 5f9cec8 commit a12c3b5
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 18 deletions.
9 changes: 7 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion java/version.bzl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SE_VERSION = "4.19.0"
SE_VERSION = "4.20.0-SNAPSHOT"
TOOLS_JAVA_VERSION = "17"
2 changes: 1 addition & 1 deletion py/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ compile_pip_requirements(
],
)

SE_VERSION = "4.19.0"
SE_VERSION = "4.20.0.dev202403271845"

BROWSER_VERSIONS = [
"v85",
Expand Down
4 changes: 2 additions & 2 deletions py/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion py/selenium/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# under the License.


__version__ = "4.19.0"
__version__ = "4.20.0.dev202403271845"
2 changes: 1 addition & 1 deletion py/selenium/webdriver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = [
Expand Down
2 changes: 1 addition & 1 deletion py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

module Selenium
module WebDriver
VERSION = '4.19.0'
VERSION = '4.20.0.nightly'
end # WebDriver
end # Selenium
2 changes: 1 addition & 1 deletion rust/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions rust/Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "c92c30dfcee338ee7a89723929f757bb27727238576facf2e007922d5f3b8643",
"checksum": "429663180e806b5eded3d78e76d2e9fcf145a9daa6790b6faa598196d2c64103",
"crates": {
"addr2line 0.19.0": {
"name": "addr2line",
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -11270,7 +11270,7 @@
"selects": {}
},
"edition": "2021",
"version": "0.4.19"
"version": "0.4.20-nightly"
},
"license": "Apache-2.0",
"license_ids": [
Expand Down Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <selenium-developers@googlegroups.com"]
license = "Apache-2.0"
Expand Down

0 comments on commit a12c3b5

Please sign in to comment.