Skip to content

Commit ec521e3

Browse files
committed
[ci] Update for workflow release preparation
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 04f9e9f commit ec521e3

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Rakefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,11 @@ namespace :all do
11101110
'rb/lib/selenium/webdriver/version.rb',
11111111
'rb/CHANGES',
11121112
'rb/Gemfile.lock',
1113-
'rust/CHANGELOG.md'])
1113+
'rust/CHANGELOG.md',
1114+
'rust/BUILD.bazel',
1115+
'rust/Cargo.Bazel.lock',
1116+
'rust/Cargo.toml',
1117+
'rust/Cargo.lock'])
11141118
end
11151119

11161120
desc 'Update all versions'
@@ -1122,6 +1126,7 @@ namespace :all do
11221126
Rake::Task['node:version'].invoke(version)
11231127
Rake::Task['py:version'].invoke(version)
11241128
Rake::Task['dotnet:version'].invoke(version)
1129+
Rake::Task['rust:version'].invoke(version)
11251130
end
11261131
end
11271132

@@ -1186,7 +1191,11 @@ end
11861191

11871192
def update_changelog(version, language, path, changelog, header)
11881193
tag = previous_tag(version, language)
1189-
log = `git --no-pager log #{tag}...HEAD --pretty=format:"--> %B" --reverse #{path}`
1194+
if language == 'javascript'
1195+
log = `git --no-pager log #{tag}...HEAD --pretty=format:"- %s" --reverse #{path}`
1196+
else
1197+
log = `git --no-pager log #{tag}...HEAD --pretty=format:"* %s" --reverse #{path}`
1198+
end
11901199
commits = log.split('>>>').map { |entry|
11911200
lines = entry.split("\n")
11921201
lines.reject! { |line| line.match?(/^(----|Co-authored|Signed-off)/) || line.empty? }

0 commit comments

Comments
 (0)