Skip to content

Commit cd673a3

Browse files
authored
[release/v7.4] Fix path to metadata.json in channel selection script (#26399)
1 parent ac01f2d commit cd673a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pipelines/templates/channelSelection.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
steps:
22
- pwsh: |
33
# Determine LTS, Preview, or Stable
4-
$metadata = Get-Content "$repoRoot/tools/metadata.json" -Raw | ConvertFrom-Json
4+
$metadata = Get-Content "$(Build.SourcesDirectory)/PowerShell/tools/metadata.json" -Raw | ConvertFrom-Json
55
$LTS = $metadata.LTSRelease.Latest
66
$Stable = $metadata.StableRelease.Latest
77
$isPreview = '$(OutputReleaseTag.releaseTag)' -match '-'

0 commit comments

Comments
 (0)