File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments