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