We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7647b5f commit 1506256Copy full SHA for 1506256
Rakefile
@@ -430,6 +430,17 @@ task 'publish-maven': JAVA_RELEASE_TARGETS do
430
end
431
432
433
+NUGET_RELEASE_ASSETS = [
434
+ "./bazel-bin/dotnet/src/webdriver/Selenium.WebDriver.#{dotnet_version}.nupkg",
435
+ "./bazel-bin/dotnet/src/webdriver/Selenium.Support.#{dotnet_version}.nupkg"
436
+]
437
+
438
+task 'publish-nuget' do
439
+ NUGET_RELEASE_ASSETS.each do |asset|
440
+ sh "dotnet nuget push #{asset} --api-key #{ENV[:NUGET_API_KEY]} --source https://api.nuget.org/v3/index.json"
441
+ end
442
+end
443
444
task 'publish-maven-snapshot': JAVA_RELEASE_TARGETS do
445
creds = read_m2_user_pass
446
if java_version.end_with?('-SNAPSHOT')
0 commit comments