From 4acd52a978011d8d84df8fa25e0bb533da6a19b4 Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Wed, 9 Aug 2017 12:18:07 -0400 Subject: [PATCH] Skip installer build on non-release branches --- appveyor.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7bf8be73e..f0880c10b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -37,9 +37,14 @@ install: build_script: - CD %APPVEYOR_BUILD_FOLDER% - IF [%TASK%]==[installer] ( - SET BUILD_ARG=--create-windows-installer + IF [%APPVEYOR_REPO_BRANCH:~-9%]==[-releases] ( + SET BUILD_ARG=--create-windows-installer + ) ELSE ( + ECHO "Skipping installer build on non-release branch" + ) ) ELSE ( - SET BUILD_ARG= + SET BUILD_ARG= && + ECHO "Skipping installer build on non-installer build matrix row" ) - script\build.cmd --code-sign --compress-artifacts %BUILD_ARG%