Skip to content

Commit

Permalink
Update release notes handling in locale YAML files in Update-WingetPa…
Browse files Browse the repository at this point in the history
…ckage function
  • Loading branch information
Utesgui committed Nov 26, 2024
1 parent a81b1da commit abef765
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ function Update-WingetPackage {
write-Host "Try adding release notes to the manifest in $ManifestOutPath"
$localFiles = Get-ChildItem -Recurse -Path $ManifestOutPath -Filter "*.locale.*.yaml"
foreach ($file in $localFiles) {
Add-Content -Path $file.FullName -Value "`n`n$releaseNotes"
Add-Content -Path $file.FullName -Value "$releaseNotes"
$newFile = get-content -path $file.FullName
write-Host $newFile
$newFile
}
}

Expand Down

0 comments on commit abef765

Please sign in to comment.