From 9a8736c06aeb50fd867b69fb19b87a855ff06a13 Mon Sep 17 00:00:00 2001 From: amaitland Date: Thu, 11 Apr 2019 05:45:32 +1000 Subject: [PATCH] Revert "build.ps1 - Upgrade to support new version scheme" This reverts commit 1f39e4259587855b49b2e6f2931044455d647413. --- build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.ps1 b/build.ps1 index 21896914f5..2cb33449a8 100644 --- a/build.ps1 +++ b/build.ps1 @@ -345,7 +345,7 @@ function WriteAssemblyVersion $CurrentYear = Get-Date -Format yyyy $NewString = $AssemblyInfo -replace $Regex, "public const string AssemblyVersion = ""$AssemblyVersion""" - $NewString = $NewString -replace $Regex2, "public const string AssemblyFileVersion = ""$AssemblyVersion""" + $NewString = $NewString -replace $Regex2, "public const string AssemblyFileVersion = ""$AssemblyVersion.0""" $NewString = $NewString -replace $Regex3, "public const string AssemblyCopyright = ""Copyright © $CurrentYear The CefSharp Authors""" $Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $False @@ -358,7 +358,7 @@ function WriteVersionToManifest($manifest) $Regex = 'assemblyIdentity version="(.*?)"'; $ManifestData = Get-Content -Encoding UTF8 $Filename - $NewString = $ManifestData -replace $Regex, "assemblyIdentity version=""$AssemblyVersion""" + $NewString = $ManifestData -replace $Regex, "assemblyIdentity version=""$AssemblyVersion.0""" $Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $False [System.IO.File]::WriteAllLines($Filename, $NewString, $Utf8NoBomEncoding)