Skip to content

Commit

Permalink
Fix file filter to include locale YAML files in Update-WingetPackage …
Browse files Browse the repository at this point in the history
…function
  • Loading branch information
Utesgui committed Nov 26, 2024
1 parent 5f8c5e0 commit a81b1da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function Update-WingetPackage {

if ($releaseNotes) {
write-Host "Try adding release notes to the manifest in $ManifestOutPath"
$localFiles = Get-ChildItem -Path $ManifestOutPath -Filter "*.local.*.yaml"
$localFiles = Get-ChildItem -Recurse -Path $ManifestOutPath -Filter "*.locale.*.yaml"
foreach ($file in $localFiles) {
Add-Content -Path $file.FullName -Value "`n`n$releaseNotes"
$newFile = get-content -path $file.FullName
Expand Down

0 comments on commit a81b1da

Please sign in to comment.