From 6b10f5892142e5d9a2549239efb8bf735ddc43a5 Mon Sep 17 00:00:00 2001 From: Pim Simons <32359437+pim-simons@users.noreply.github.com> Date: Wed, 5 Jul 2023 11:05:56 +0200 Subject: [PATCH] fix: Make sure the log.txt file exists during release pipeline (#398) Co-authored-by: Pim Simons --- build/psgallery-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/build/psgallery-release.yml b/build/psgallery-release.yml index 379a7270..642fb36a 100644 --- a/build/psgallery-release.yml +++ b/build/psgallery-release.yml @@ -151,6 +151,7 @@ stages: inputs: checkLatest: true - powershell: | + New-Item log.txt Get-ChildItem -Path $env:ARTIFACT_DIR -Filter *.nupkg -Recurse | % { & "nuget" push $_.FullName -Source $(Source) -ApiKey $(NuGet.ApiKey) -SkipDuplicate | Out-File log.txt -Append }