Skip to content

Commit b87c71c

Browse files
committed
[build] create and push the appropriate release tag as part of release task
1 parent f36d4b0 commit b87c71c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Rakefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,9 @@ namespace :all do
942942
desc 'Release all artifacts for all language bindings'
943943
task :release, [:args] do |_task, arguments|
944944
Rake::Task['clean'].invoke
945+
tag = @git.add_tag("selenium-#{java_version}")
946+
@git.push('origin', tag.name)
947+
945948
args = arguments[:args] ? [arguments[:args]] : ['--stamp']
946949
Rake::Task['java:release'].invoke(args)
947950
Rake::Task['py:release'].invoke(args)

0 commit comments

Comments
 (0)