Skip to content

Commit bb966ff

Browse files
committed
Updated cake
1 parent 74542c2 commit bb966ff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.cake

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,12 @@ Task("Pack")
106106
});
107107

108108
Task("Publish")
109-
.IsDependentOn("Build")
109+
.IsDependentOn("Pack")
110110
.Does(() =>
111111
{
112-
var nupack = GetFiles("./.build/nuget/*.nuspec").FirstOrDefault();
113-
NuGetPush(nupack.FullPath, new NuGetPushSettings());
112+
var nupack = GetFiles(".build/nuget/*.nupkg").FirstOrDefault();
113+
Information($"Pushing package: {nupack.FullPath}") ;
114+
NuGetPush(nupack.FullPath, new NuGetPushSettings(){ Source = "https://nuget.org" });
114115
});
115116

116117
RunTarget(target);

0 commit comments

Comments
 (0)