Skip to content

Commit 91ea20f

Browse files
committed
changed chocolatey push to full path
1 parent 7cbad58 commit 91ea20f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/Build.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,10 @@ Version Version
314314
.Requires(() => ChocolateyApiKey)
315315
.Executes(() =>
316316
{
317-
Chocolatey($"push logexpert.*.nupkg --key {ChocolateyApiKey} --source https://push.chocolatey.org/", WorkingDirectory = ChocolateyDirectory);
317+
ChocolateyDirectory.GlobFiles("**/*.nupkg").ForEach(file =>
318+
{
319+
Chocolatey($"push {file} --key {ChocolateyApiKey} --source https://push.chocolatey.org/", WorkingDirectory = ChocolateyDirectory);
320+
});
318321
});
319322

320323
Target PublishGithub => _ => _

0 commit comments

Comments
 (0)