File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -80,10 +80,10 @@ jobs:
80
80
run : git reset HEAD~1
81
81
- name : Update everything including early release CDP
82
82
if : ${{ github.event.inputs.chrome_channel == 'early-stable' }}
83
- run : ./go all:prepare[' Beta' ]
83
+ run : ./go all:prepare[${{ github.event.inputs.version }}, Beta]
84
84
- name : Update everything including released CDP
85
85
if : ${{ github.event.inputs.chrome_channel == 'stable' }}
86
- run : ./go "all:prepare[Stable]"
86
+ run : ./go "all:prepare[${{ github.event.inputs.version }}, Stable]"
87
87
- name : Create Pull Request
88
88
uses : peter-evans/create-pull-request@v6
89
89
with :
Original file line number Diff line number Diff line change @@ -1071,8 +1071,9 @@ namespace :all do
1071
1071
end
1072
1072
1073
1073
desc 'Update everything in preparation for a release'
1074
- task :prepare , [ :channel ] do |_task , arguments |
1074
+ task :prepare , [ :version , : channel] do |_task , arguments |
1075
1075
chrome_channel = arguments [ :channel ] || 'Stable'
1076
+ version = arguments [ :version ]
1076
1077
args = Array ( chrome_channel ) ? [ '--' , "--chrome_channel=#{ chrome_channel . capitalize } " ] : [ ]
1077
1078
Bazel . execute ( 'run' , args , '//scripts:pinned_browsers' )
1078
1079
commit! ( 'Update pinned browser versions' , [ 'common/repositories.bzl' ] )
@@ -1102,7 +1103,7 @@ namespace :all do
1102
1103
commit! ( 'Update authors file' , [ 'AUTHORS' ] )
1103
1104
1104
1105
# Note that this does not include Rust version changes that are handled in separate rake:version task
1105
- Rake ::Task [ 'all:version' ] . invoke
1106
+ Rake ::Task [ 'all:version' ] . invoke ( version )
1106
1107
commit! ( "FIX CHANGELOGS BEFORE MERGING!\n \n Update versions and change logs to release Selenium #{ java_version } " ,
1107
1108
[ 'dotnet/CHANGELOG' ,
1108
1109
'dotnet/selenium-dotnet-version.bzl' ,
You can’t perform that action at this time.
0 commit comments