mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
[release/v7.4] Fix path to metadata.json in channel selection script (#26399)
This commit is contained in:
@@ -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 '-'
|
||||
|
||||
Reference in New Issue
Block a user