diff --git a/Rakefile b/Rakefile index ff9187b63d61e..17bbed93e0be8 100644 --- a/Rakefile +++ b/Rakefile @@ -549,7 +549,7 @@ namespace :py do desc 'Release Python wheel and sdist to pypi' task :release, [:args] do |_task, arguments| args = Array(arguments[:args]) || ['--stamp'] - Bazel.execute('run', args, '//py:selenium-release') + Bazel.execute('build', args, '//py:selenium-release') end desc 'generate and copy files required for local development'