Skip to content

Commit

Permalink
Update build.cake
Browse files Browse the repository at this point in the history
  • Loading branch information
twenzel authored Jun 26, 2020
1 parent 0cd732e commit 16e9f8b
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,11 @@ Task("Publish")
// Get the paths to the packages.
var packages = GetFiles(outputDirNuget + "*.nupkg");

// Push the package.
// Push the package and symbols
NuGetPush(packages, new NuGetPushSettings {
Source = nugetPublishFeed,
ApiKey = nugetApiKey
});

// Upload symbols
packages = GetFiles(outputDirNuget + "*.snupkg");

// Push the package.
NuGetPush(packages, new NuGetPushSettings {
Source = nugetPublishFeed,
ApiKey = nugetApiKey
ApiKey = nugetApiKey,
SkipDuplicate = true
});
});

Expand Down

0 comments on commit 16e9f8b

Please sign in to comment.