Skip to content

Commit

Permalink
Update version to 5.7.1 and fix revision creation logic (#1312)
Browse files Browse the repository at this point in the history
* Update version to 5.7.1
* Update revision creation logic to comply with required range
  • Loading branch information
GeoK authored Jan 7, 2020
1 parent 54eb297 commit 47dac47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buildConfiguration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<dotnetArchitecture>x64</dotnetArchitecture>
<nugetVersion>3.5.0-rc-1285</nugetVersion>
<runtimes>net45,net451,net461,netstandard1.4,netstandard2.0</runtimes>
<assemblyVersion>5.7.0</assemblyVersion>
<assemblyVersion>5.7.1</assemblyVersion>
<nugetSuffix>preview</nugetSuffix>
<projects>
<src>
Expand Down
4 changes: 2 additions & 2 deletions updateAssemblyInfo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47dac47

Please sign in to comment.