From 47dac4787011e02f9453e691fd67a3d0c7492d8e Mon Sep 17 00:00:00 2001 From: George Krechar Date: Tue, 7 Jan 2020 11:47:30 -0800 Subject: [PATCH] Update version to 5.7.1 and fix revision creation logic (#1312) * Update version to 5.7.1 * Update revision creation logic to comply with required range --- buildConfiguration.xml | 2 +- updateAssemblyInfo.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/buildConfiguration.xml b/buildConfiguration.xml index a882b5b3fa..ff4da928ab 100644 --- a/buildConfiguration.xml +++ b/buildConfiguration.xml @@ -2,7 +2,7 @@ x64 3.5.0-rc-1285 net45,net451,net461,netstandard1.4,netstandard2.0 - 5.7.0 + 5.7.1 preview diff --git a/updateAssemblyInfo.ps1 b/updateAssemblyInfo.ps1 index 6dd2a0582c..d7e5268abb 100644 --- a/updateAssemblyInfo.ps1 +++ b/updateAssemblyInfo.ps1 @@ -30,11 +30,11 @@ Write-Host "root: " $root; Write-Host "PSScriptRoot: " $PSScriptRoot; $date = Get-Date -$dateTimeStamp = ($date.ToString("yy")-13).ToString() + $date.ToString("MMddHHmmss") +$dateTimeStamp = ($date.ToString("yy")-19).ToString() + $date.ToString("MMddHHmmss") [xml]$buildConfiguration = Get-Content $PSScriptRoot\buildConfiguration.xml $assemblyVersion = [string]$buildConfiguration.SelectSingleNode("root/assemblyVersion").InnerText -$assemblyFileVersion = $assemblyVersion + "." + ($date.ToString("yy")-13).ToString() + $date.ToString("MMdd") +$assemblyFileVersion = $assemblyVersion + "." + ($date.ToString("yy")-19).ToString() + $date.ToString("MMdd") $assemblyInformationalVersion = $assemblyVersion + "." + $dateTimeStamp + "." + (git rev-parse HEAD) Write-Host "assemblyVersion: " $assemblyVersion Write-Host "assemblyFileVersion: " $assemblyFileVersion