Build the right things on appveyor

This commit is contained in:
Damien Guard 2018-01-10 15:41:21 -08:00
parent 058c13e252
commit 4422318584
No known key found for this signature in database
GPG Key ID: DC14FA2FB1465DB6

View File

@ -43,17 +43,20 @@ build_script:
- SET SQUIRREL_TEMP=C:\tmp
- IF [%TASK%]==[installer] (
IF [%APPVEYOR_REPO_BRANCH:~-9%]==[-releases] (
ECHO Building on release branch - Creating production artifacts
script\build.cmd --code-sign --compress-artifacts --create-windows-installer
) ELSE (
IF [%APPVEYOR_REPO_BRANCH%]==[master] (
script\build.cmd --code-sign --compress-artifacts --create-windows-installer
ECHO Building on master branch - Creating signed zips
script\build.cmd --code-sign --compress-artifacts
) ELSE (
ECHO Skipping installer and Atom build on non-release branch
ECHO Building on non-master branch - Creating unsigned zips
script\build.cmd --compress-artifacts
)
)
) ELSE (
ECHO Skipping installer build on non-installer build matrix row &&
script\build.cmd --code-sign --compress-artifacts
ECHO Test build only - Not creating artifacts
script\build.cmd
)
test_script: