Skip to content

Commit d2acd9a

Browse files
aplaamaitland
authored andcommitted
Builds with suffix (#77)
Allows to build package with customised version of CEF
1 parent d308021 commit d2acd9a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ param(
2020
[Parameter()]
2121
[string] $Extension = "tar.bz2",
2222
[Switch] $NoDebugBuild
23+
[string] $Suffix
24+
2325
)
2426

2527
Set-StrictMode -version latest
@@ -84,6 +86,11 @@ try
8486
# we should end up with something like 73.1.12
8587
$CefPackageVersion = $CefVersion.SubString(0, $CefVersion.IndexOf('+'))
8688
}
89+
90+
if($Suffix)
91+
{
92+
$CefPackageVersion = $CefPackageVersion + '-' + $Suffix
93+
}
8794

8895
# https://github.com/jbake/Powershell_scripts/blob/master/Invoke-BatchFile.ps1
8996
function Invoke-BatchFile

0 commit comments

Comments
 (0)