[release/v7.4] Fix path to metadata.json in channel selection script (#26399)

This commit is contained in:
Travis Plunk
2025-11-10 12:07:21 -08:00
committed by GitHub
parent ac01f2de00
commit cd673a3cdf
+1 -1
View File
@@ -1,7 +1,7 @@
steps:
- pwsh: |
# Determine LTS, Preview, or Stable
$metadata = Get-Content "$repoRoot/tools/metadata.json" -Raw | ConvertFrom-Json
$metadata = Get-Content "$(Build.SourcesDirectory)/PowerShell/tools/metadata.json" -Raw | ConvertFrom-Json
$LTS = $metadata.LTSRelease.Latest
$Stable = $metadata.StableRelease.Latest
$isPreview = '$(OutputReleaseTag.releaseTag)' -match '-'