Skip to content

Commit 7410728

Browse files
authored
Reapply "Use dotnet-monitor asset instead of merge manfest for versioning (#8563) (#8575)" (#8719) (#8727)
This reverts commit 0403345.
1 parent 0403345 commit 7410728

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eng/pipelines/dotnet-monitor-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ variables:
141141
142142
$buildData = $buildInfo | ConvertFrom-Json
143143
144-
[array]$matchingData = $buildData.assets | Where-Object { $_.name -match 'MergedManifest.xml$' -and $_.nonShipping }
144+
[array]$matchingData = $buildData.assets | Where-Object { $_.name -eq 'dotnet-monitor' }
145145
146146
if (!$matchingData -or $matchingData.Length -ne 1) {
147147
Write-Error 'Unable to obtain build version.'

eng/release/Scripts/GetBuildVersion.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 -match 'MergedManifest.xml$' -and $_.nonShipping }
18+
[array]$matchingData = $buildData.assets | Where-Object { $_.name -eq 'dotnet-monitor' }
1919

2020
if (!$matchingData -or $matchingData.Length -ne 1) {
2121
Write-Error 'Unable to obtain build version.'

0 commit comments

Comments
 (0)