Skip to content

Commit

Permalink
Skip installer build on non-release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
smashwilson committed Aug 9, 2017
1 parent 3a9872e commit 4acd52a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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%

Expand Down

0 comments on commit 4acd52a

Please sign in to comment.