Skip to content

Commit 55907f4

Browse files
committed
add push .snupkg
1 parent 09f54c4 commit 55907f4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

build.cake

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,16 @@ Task("PushPackage")
8181
if (!string.IsNullOrEmpty(apiKey))
8282
{
8383
var package = "./nuget/ReactiveXComponent.Net." + version + ".nupkg";
84-
DotNetCoreNuGetPush(package, new DotNetCoreNuGetPushSettings
84+
DotNetCoreNuGetPush(package, new DotNetCoreNuGetPushSettings
8585
{
8686
Source = "https://www.nuget.org/api/v2/package",
8787
ApiKey = apiKey,
88-
SymbolApiKey = apiKey,
88+
});
89+
var packageSnupkg = "./nuget/ReactiveXComponent.Net." + version + ".snupkg";
90+
DotNetCoreNuGetPush(packageSnupkg, new DotNetCoreNuGetPushSettings
91+
{
8992
SymbolSource = "https://www.nuget.org/api/v2/symbolpackage"
93+
SymbolApiKey = apiKey,
9094
});
9195
}
9296
else

0 commit comments

Comments
 (0)