Skip to content

Commit 2e65057

Browse files
committed
[dotnet] Uncommenting
1 parent 5b40337 commit 2e65057

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Rakefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -807,9 +807,9 @@ namespace :dotnet do
807807

808808
desc 'Upload nupkg files to Nuget'
809809
task :release, [:args] do |_task, arguments|
810-
# args = Array(arguments[:args]) || ['--stamp']
811-
# Rake::Task['dotnet:build'].invoke(args)
812-
# Rake::Task['dotnet:zip_assets'].invoke(args)
810+
args = Array(arguments[:args]) || ['--stamp']
811+
Rake::Task['dotnet:build'].invoke(args)
812+
Rake::Task['dotnet:zip_assets'].invoke(args)
813813

814814
release_version = dotnet_version
815815
api_key = ENV.fetch('NUGET_API_KEY', nil)
@@ -823,10 +823,10 @@ namespace :dotnet do
823823
sh "dotnet nuget add source --username seleniumhq --password #{api_key} --store-password-in-clear-text --name #{push_destination} #{github_push_url}"
824824
end
825825

826-
# ["./bazel-bin/dotnet/src/webdriver/Selenium.WebDriver.#{dotnet_version}.nupkg",
827-
# "./bazel-bin/dotnet/src/support/Selenium.Support.#{dotnet_version}.nupkg"].each do |asset|
828-
# sh "dotnet nuget push #{asset} --api-key #{api_key} --source #{push_destination}"
829-
# end
826+
["./bazel-bin/dotnet/src/webdriver/Selenium.WebDriver.#{dotnet_version}.nupkg",
827+
"./bazel-bin/dotnet/src/support/Selenium.Support.#{dotnet_version}.nupkg"].each do |asset|
828+
sh "dotnet nuget push #{asset} --api-key #{api_key} --source #{push_destination}"
829+
end
830830
end
831831

832832
desc 'Generate .NET documentation'

0 commit comments

Comments
 (0)