Update version tests to use NextReleaseVersion from metadata.json (#9646)

This commit is contained in:
Travis Plunk
2019-05-21 12:19:13 -07:00
committed by Aditya Patwardhan
parent 82478d23e5
commit 24c800f07c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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"
}