mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update version tests to use NextReleaseVersion from metadata.json (#9646)
This commit is contained in:
committed by
Aditya Patwardhan
parent
82478d23e5
commit
24c800f07c
+1
-1
@@ -421,7 +421,7 @@ function Get-ReleaseTag
|
||||
{
|
||||
$metaDataPath = Join-Path -Path $PSScriptRoot -ChildPath 'metadata.json'
|
||||
$metaData = Get-Content $metaDataPath | ConvertFrom-Json
|
||||
$releaseTag = $metadata.PreviewReleaseTag
|
||||
$releaseTag = $metadata.NextReleaseTag
|
||||
if($env:BUILD_BUILID)
|
||||
{
|
||||
$releaseTag = $releaseTag.split('.')[0..2] -join '.'
|
||||
|
||||
+1
-1
@@ -3,5 +3,5 @@
|
||||
"PreviewReleaseTag": "v6.2.0-rc.1",
|
||||
"ServicingReleaseTag": "v6.1.4",
|
||||
"ReleaseTag": "v6.2.1",
|
||||
"NextReleaseTag": "v6.2.0-rc.1"
|
||||
"NextReleaseTag": "v7.0.0-preview.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user