We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac01f2d commit cd673a3Copy full SHA for cd673a3
.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