Fix syntax error in windows.yml when referencing environment variables

This commit is contained in:
David Wilson
2018-08-01 11:40:02 -07:00
parent 668e25a504
commit fefb1f2ed0

View File

@@ -23,9 +23,9 @@ phases:
- script: |
IF NOT EXIST C:\tmp MKDIR C:\tmp
SET SQUIRREL_TEMP=C:\tmp
IF [%BUILD_SOURCEBRANCHNAME:~-9%]==[-releases] SET IS_RELEASE_BRANCH=true
IF [%BUILD_SOURCEBRANCHNAME%:~-9%]==[-releases] SET IS_RELEASE_BRANCH=true
IF [%BUILD_SOURCEBRANCHNAME%]==[master] IF NOT DEFINED SYSTEM_PULLREQUEST_PULLREQUESTNUMBER SET IS_SIGNED_ZIP_BRANCH=true
IF [%BUILD_SOURCEBRANCHNAME:~0,9%]==[electron-] SET IS_SIGNED_ZIP_BRANCH=true
IF [%BUILD_SOURCEBRANCHNAME%:~0,9%]==[electron-] SET IS_SIGNED_ZIP_BRANCH=true
IF [%IS_RELEASE_BRANCH%]==[true] (
ECHO Building on release branch - Creating production artifacts &&
script\build.cmd --code-sign --compress-artifacts --create-windows-installer