Skip to content

Commit

Permalink
add lists in a different way
Browse files Browse the repository at this point in the history
  • Loading branch information
jessehouwing committed Mar 1, 2023
1 parent 345be91 commit 5d304a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload-releases.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ foreach ($release in $existingReleases)
$knownAssets["$release"] = $releaseDetails.assets
}

foreach ($taskzip in (dir _sxs/*.zip) + (dir .\_download\*.zip))
foreach ($taskzip in (@(Get-ChildItem _sxs/*.zip) + @(Get-ChildItem .\_download\*.zip)))
{
$taskzip.Name -match "-(?<version>\d+\.\d+\.\d+)\.zip" | Out-Null
$version = [version]$Matches.version
Expand Down

0 comments on commit 5d304a9

Please sign in to comment.