File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ variables:
141141
142142 $buildData = $buildInfo | ConvertFrom-Json
143143
144- [array]$matchingData = $buildData.assets | Where-Object { $_.name -eq 'dotnet-monitor' }
144+ [array]$matchingData = $buildData.assets | Where-Object { $_.name -match 'MergedManifest.xml$' -and $_.nonShipping }
145145
146146 if (!$matchingData -or $matchingData.Length -ne 1) {
147147 Write-Error 'Unable to obtain build version.'
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ $buildData = & $PSScriptRoot\GetDarcBuild.ps1 `
1515 - MaestroApiEndPoint $MaestroApiEndPoint `
1616 - DarcVersion $DarcVersion
1717
18- [array ]$matchingData = $buildData.assets | Where-Object { $_.name -eq ' dotnet-monitor ' }
18+ [array ]$matchingData = $buildData.assets | Where-Object { $_.name -match ' MergedManifest.xml$ ' -and $_ .nonShipping }
1919
2020if (! $matchingData -or $matchingData.Length -ne 1 ) {
2121 Write-Error ' Unable to obtain build version.'
You can’t perform that action at this time.
0 commit comments