mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 14:02:49 +08:00
Merge pull request #33 from TomPallister/feature/publish-unable-and-symbols
Feature/publish unable and symbols
This commit is contained in:
commit
aa709748db
11
build.cake
11
build.cake
@ -310,7 +310,8 @@ private void PublishPackages(string feedApiKey, string codeFeedUrl, string symbo
|
||||
.ToDictionary(v => v[0], v => v[1]);
|
||||
|
||||
var codePackage = packagesDir + File(artifacts["nuget"]);
|
||||
var symbolsPackage = packagesDir + File(artifacts["nugetSymbols"]);
|
||||
|
||||
Information("Pushing package");
|
||||
|
||||
NuGetPush(
|
||||
codePackage,
|
||||
@ -318,14 +319,6 @@ private void PublishPackages(string feedApiKey, string codeFeedUrl, string symbo
|
||||
ApiKey = feedApiKey,
|
||||
Source = codeFeedUrl
|
||||
});
|
||||
|
||||
NuGetPush(
|
||||
symbolsPackage,
|
||||
new NuGetPushSettings {
|
||||
ApiKey = feedApiKey,
|
||||
Source = symbolFeedUrl
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/// gets the resource from the specified url
|
||||
|
Loading…
x
Reference in New Issue
Block a user