Skip to content

Commit ede58dd

Browse files
Fix filtering
1 parent 3fa5679 commit ede58dd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/releaseBuild/yaml/releaseBuild.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ stages:
119119
steps:
120120
- download: current
121121
artifact: release
122-
patterns: 'x*.zip'
123122

124123
- pwsh: |
125124
Write-Verbose -Verbose "Enumerating "$(Pipeline.Workspace)/release"
@@ -129,7 +128,7 @@ stages:
129128
$expandedRoot = New-Item -Path "$(Pipeline.Workspace)/expanded" -ItemType Directory -Verbose
130129
$symbolsRoot = New-Item -Path "$(Pipeline.Workspace)/symbols" -ItemType Directory -Verbose
131130
132-
$downloadedArtifacts | Where-Object { $_.Extension -eq 'zip' } | ForEach-Object {
131+
$downloadedArtifacts | Where-Object { $_.Name -like 'x*-symbols.zip'} | ForEach-Object {
133132
$destFolder = New-Item -Path "$expandedRoot/$($_.BaseName)/" -ItemType Directory -Verbose
134133
Expand-Archive -Path $_.FullName -DestinationPath $destFolder -Force
135134
@@ -139,7 +138,7 @@ stages:
139138
}
140139
}
141140
142-
Write-Verbose -Verbose "Enumerating "$symbolsRoot"
141+
Write-Verbose -Verbose "Enumerating $symbolsRoot"
143142
Get-ChildItem -Path $symbolsRoot -Recurse
144143
145144
$vstsCommandString = "vso[task.setvariable variable=SymbolsPath]$symbolsRoot"

0 commit comments

Comments
 (0)