Skip to content

Commit b3373c0

Browse files
Merge pull request #100 from fle-bach/FixPushInTwoTimeNupkg
add push .snupkg
2 parents 09f54c4 + df4e43d commit b3373c0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

build.cake

Lines changed: 8 additions & 4 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",
87-
ApiKey = apiKey,
88-
SymbolApiKey = apiKey,
89-
SymbolSource = "https://www.nuget.org/api/v2/symbolpackage"
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
9094
});
9195
}
9296
else

0 commit comments

Comments
 (0)