We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
metadata.json
1 parent 8d08758 commit 8975e1dCopy full SHA for 8975e1d
1 file changed
.pipelines/templates/channelSelection.yml
@@ -1,7 +1,7 @@
1
steps:
2
- pwsh: |
3
# Determine LTS, Preview, or Stable
4
- $metadata = Get-Content "$repoRoot/tools/metadata.json" -Raw | ConvertFrom-Json
+ $metadata = Get-Content "$(Build.SourcesDirectory)/PowerShell/tools/metadata.json" -Raw | ConvertFrom-Json
5
$LTS = $metadata.LTSRelease.Latest
6
$Stable = $metadata.StableRelease.Latest
7
$isPreview = '$(OutputReleaseTag.releaseTag)' -match '-'
0 commit comments