File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Task("Clean")
2020 CleanDirectory ( "./ReactiveXComponent/bin" ) ;
2121 CleanDirectory ( "./ReactiveXComponent/obj" ) ;
2222 CleanDirectory ( "./ReactiveXComponentTest/bin" ) ;
23- CleanDirectory ( "./ReactiveXComponenttest /obj" ) ;
23+ CleanDirectory ( "./ReactiveXComponentTest /obj" ) ;
2424
2525 var pathHelloWorldIntegrationTest = "./docker/integration_tests/XCProjects/HelloWorldV5/" ;
2626 CleanDirectory ( pathHelloWorldIntegrationTest + "xcr" ) ;
@@ -80,17 +80,14 @@ Task("PushPackage")
8080 {
8181 if ( ! string . IsNullOrEmpty ( apiKey ) )
8282 {
83- var package = "./nuget/ReactiveXComponent.Net." + version + ".nupkg" ;
84- DotNetCoreNuGetPush ( package , new DotNetCoreNuGetPushSettings
83+ DoInDirectory ( "./nuget" , ( ) =>
8584 {
86- Source = "https://www.nuget.org/api/v2/package" ,
87- ApiKey = apiKey
88- } ) ;
89- var packageSnupkg = "./nuget/ReactiveXComponent.Net." + version + ".snupkg" ;
90- DotNetCoreNuGetPush ( packageSnupkg , new DotNetCoreNuGetPushSettings
91- {
92- SymbolSource = "https://www.nuget.org/api/v2/symbolpackage" ,
93- SymbolApiKey = apiKey
85+ var package = "./ReactiveXComponent.Net." + version + ".nupkg" ;
86+ DotNetCoreNuGetPush ( package , new DotNetCoreNuGetPushSettings
87+ {
88+ Source = "https://api.nuget.org/v3/index.json" ,
89+ ApiKey = apiKey
90+ } ) ;
9491 } ) ;
9592 }
9693 else
You can’t perform that action at this time.
0 commit comments