Merge pull request #33 from TomPallister/feature/publish-unable-and-symbols

Feature/publish unable and symbols
This commit is contained in:
Tom Pallister 2017-02-11 12:42:07 +00:00 committed by GitHub
commit aa709748db

View File

@ -310,7 +310,8 @@ private void PublishPackages(string feedApiKey, string codeFeedUrl, string symbo
.ToDictionary(v => v[0], v => v[1]); .ToDictionary(v => v[0], v => v[1]);
var codePackage = packagesDir + File(artifacts["nuget"]); var codePackage = packagesDir + File(artifacts["nuget"]);
var symbolsPackage = packagesDir + File(artifacts["nugetSymbols"]);
Information("Pushing package");
NuGetPush( NuGetPush(
codePackage, codePackage,
@ -318,14 +319,6 @@ private void PublishPackages(string feedApiKey, string codeFeedUrl, string symbo
ApiKey = feedApiKey, ApiKey = feedApiKey,
Source = codeFeedUrl Source = codeFeedUrl
}); });
NuGetPush(
symbolsPackage,
new NuGetPushSettings {
ApiKey = feedApiKey,
Source = symbolFeedUrl
});
} }
/// gets the resource from the specified url /// gets the resource from the specified url