Skip to content

Commit

Permalink
fix: Make sure the log.txt file exists during release pipeline (#398)
Browse files Browse the repository at this point in the history
Co-authored-by: Pim Simons <[email protected]>
  • Loading branch information
pim-simons and pim-simons authored Jul 5, 2023
1 parent 76a945e commit 6b10f58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/psgallery-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 6b10f58

Please sign in to comment.