Skip to content

Commit 93b78e6

Browse files
committed
[build] fix rakefile to prep next release
1 parent 218b5bb commit 93b78e6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/pre-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
- name: Commit version updates
104104
run: git commit -m "bump versions in preparation for release"
105105
- name: Update changelog
106-
run: ./go all:changelog
106+
run: ./go all:changelogs
107107
- name: Commit changelog updates
108108
run: git commit -m "WIP - rough auto-update of changelog, please edit"
109109
- name: List untracked files

Rakefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ end
166166
desc 'Update Selenium Manager to latest release'
167167
task :update_manager do |_task, _arguments|
168168
puts 'Updating Selenium Manager references'
169-
Bazel.execute('run', args, '//scripts:selenium_manager')
169+
Bazel.execute('run', [], '//scripts:selenium_manager')
170170

171171
@git.add('common/selenium_manager.bzl')
172172
end
@@ -1181,6 +1181,7 @@ namespace :all do
11811181
Rake::Task['py:lint'].invoke
11821182
end
11831183

1184+
# Example: `./go all:prepare 4.31.0 early-stable`
11841185
desc 'Update everything in preparation for a release'
11851186
task :prepare, [:version, :channel] do |_task, arguments|
11861187
version = arguments[:version]
@@ -1206,7 +1207,7 @@ namespace :all do
12061207
Rake::Task['rust:version'].invoke(version)
12071208

12081209
unless version == 'nightly'
1209-
Rake::Task['all:changelogs']
1210+
Rake::Task['all:changelogs'].invoke
12101211

12111212
major_minor = arguments[:version][/^\d+\.\d+/]
12121213
file = '.github/ISSUE_TEMPLATE/bug-report.yml'

0 commit comments

Comments
 (0)