mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-19 20:12:51 +08:00
use the DotNetNuGet cake code
This commit is contained in:
parent
b6b789c3f6
commit
36ad6e1e78
@ -1,6 +1,5 @@
|
|||||||
#tool "dotnet:?package=GitVersion.Tool&version=5.8.1"
|
#tool "dotnet:?package=GitVersion.Tool&version=5.8.1"
|
||||||
#tool "dotnet:?package=coveralls.net&version=3.0.0"
|
#tool "dotnet:?package=coveralls.net&version=3.0.0"
|
||||||
#tool nuget:?package=NuGet.CommandLine.XPlat&version=6.0.0
|
|
||||||
#addin nuget:?package=Cake.Json&version=4.0.0
|
#addin nuget:?package=Cake.Json&version=4.0.0
|
||||||
#addin nuget:?package=Newtonsoft.Json
|
#addin nuget:?package=Newtonsoft.Json
|
||||||
#addin nuget:?package=System.Text.Encodings.Web&version=4.7.1
|
#addin nuget:?package=System.Text.Encodings.Web&version=4.7.1
|
||||||
@ -419,9 +418,9 @@ private void PublishPackages(ConvertableDirectoryPath packagesDir, ConvertableFi
|
|||||||
|
|
||||||
Information("Calling NuGetPush");
|
Information("Calling NuGetPush");
|
||||||
|
|
||||||
NuGetPush(
|
DotNetNuGetPush(
|
||||||
codePackage,
|
codePackage,
|
||||||
new NuGetPushSettings {
|
new DotNetNuGetPushSettings {
|
||||||
ApiKey = feedApiKey,
|
ApiKey = feedApiKey,
|
||||||
Source = codeFeedUrl
|
Source = codeFeedUrl
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user