From 2d66dd93fb93c3faa137c3c15116f8148f9e46e3 Mon Sep 17 00:00:00 2001 From: Damien Guard Date: Wed, 12 Jul 2017 14:17:53 -0700 Subject: [PATCH] Create Windows installer after the tests have run --- appveyor.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 11ab7b3ba..0cbcdcec9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -31,19 +31,20 @@ install: - npm install -g npm build_script: - - IF NOT EXIST C:\sqtemp MKDIR C:\sqtemp - - SET SQUIRREL_TEMP=C:\sqtemp - CD %APPVEYOR_BUILD_FOLDER% - - IF [%APPVEYOR_REPO_BRANCH:~-9%]==[-releases] ( - script\build.cmd --code-sign --create-windows-installer --compress-artifacts - ) ELSE ( - script\build.cmd --code-sign --compress-artifacts - ) + - script\build.cmd --code-sign --compress-artifacts test_script: - script\lint.cmd - script\test.cmd +after_test: + - IF [%APPVEYOR_REPO_BRANCH:~-9%]==[-releases] ( + IF NOT EXIST C:\sqtemp MKDIR C:\sqtemp + SET SQUIRREL_TEMP=C:\sqtemp + script\build.cmd --existing-artifacts --code-sign --create-windows-installer + ) + deploy: off artifacts: - path: out\AtomSetup.exe