Skip to content

Commit

Permalink
Fixing build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocav committed Jul 24, 2019
1 parent 2048b00 commit b8fd814
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ branches:
only:
- dev
- master
- core


image:
- Ubuntu
- Visual Studio 2017
Expand Down Expand Up @@ -49,6 +48,11 @@ for:
$hasTag = Test-Path env:APPVEYOR_REPO_TAG_NAME
$isbuildFromMasterBranch = $env:APPVEYOR_REPO_BRANCH -eq "master"
$includeSuffix = (-Not ($hasTag -OR $isBuildFromMasterBranch))
if (-Not $includeSuffix) {
$env:Configuration = "Release"
}
.\build.ps1 -buildNumber "$env:APPVEYOR_BUILD_NUMBER" -includeSuffix $includeSuffix
after_build:
- ps: >
Expand Down

0 comments on commit b8fd814

Please sign in to comment.