From e1d8d883ba8fbd2f12d6efe394acc3c7e29fe98f Mon Sep 17 00:00:00 2001 From: ivan baktsheev Date: Tue, 9 Apr 2019 16:21:04 +0300 Subject: [PATCH] Builds with suffix Allows to build package with customised version of CEF --- build.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.ps1 b/build.ps1 index b64c080..1b62b14 100644 --- a/build.ps1 +++ b/build.ps1 @@ -20,6 +20,8 @@ param( [Parameter()] [string] $Extension = "tar.bz2", [Switch] $NoDebugBuild + [string] $Suffix + ) Set-StrictMode -version latest @@ -84,6 +86,11 @@ try # we should end up with something like 73.1.12 $CefPackageVersion = $CefVersion.SubString(0, $CefVersion.IndexOf('+')) } + + if($Suffix) + { + $CefPackageVersion = $CefPackageVersion + '-' + $Suffix + } # https://github.com/jbake/Powershell_scripts/blob/master/Invoke-BatchFile.ps1 function Invoke-BatchFile