OpenRCT2/distribution/windows/build.ps1
IntelOrca a35b774004 tweak AppVeyor version and push condition
- Omit appending the tag on to the version string if the tag is a version, e.g. v0.0.4.
- Only push tags, develop branch or specific push branches to OpenRCT2.org
2016-04-14 19:56:40 +01:00

12 lines
354 B
PowerShell

param (
[Parameter(Position = 1)]
[string]$VersionExtra = ""
)
$path = Split-Path $Script:MyInvocation.MyCommand.Path
Write-Host "Building Windows Installer (NSIS script)";
Write-Host " $VersionExtra";
makensis /DAPPV_EXTRA=$VersionExtra `
/DVERSION_INCLUDE=$path\win32.txt `
$path\install.nsi > $path\win32.log;