Skip to content

Commit 2af10a8

Browse files
author
Cédric Belin
committed
Update the "publish" task [skip ci]
1 parent 7501e95 commit 2af10a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Task("publish")
2525
.WithCriteria(release, @"the ""Release"" configuration must be enabled")
2626
.IsDependentOn("default")
2727
.Does(() => DotNetPack("Lcov.slnx", new() { OutputDirectory = "var" }))
28-
.Does(() => DotNetNuGetPush($"var/Belin.Lcov.{version}.nupkg", new() { ApiKey = EnvironmentVariable("NUGET_API_KEY"), Source = "https://api.nuget.org/v3/index.json" }))
28+
.Does(() => DotNetNuGetPush("var/*.nupkg", new() { ApiKey = EnvironmentVariable("NUGET_API_KEY"), Source = "https://api.nuget.org/v3/index.json" }))
2929
.DoesForEach(["tag", "push origin"], action => StartProcess("git", $"{action} v{version}"));
3030

3131
Task("test")

0 commit comments

Comments
 (0)