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 d4fa1c0 commit 7ca44e7
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 @@ -13,7 +13,6 @@ branches:
- master
- dev
- next
- core
clone_folder: c:\azure-webjobs-sdk-extensions
install:
- ps: >
Expand All @@ -23,10 +22,16 @@ install:
build_script:
- ps: |
$buildNumber = 0
if (![boolean]::Parse($env:APPVEYOR_REPO_TAG)) {
$hasTag = Test-Path env:APPVEYOR_REPO_TAG_NAME
if (-not $hasTag) {
$buildNumber = $env:APPVEYOR_BUILD_NUMBER
Write-Host "No git tag found. Setting package suffix to '$buildNumber'"
}
if ($hasTag) {
$env:Configuration = "Release"
}
.\Build.ps1 -packageSuffix "$buildNumber"
test_script:
- ps: >-
Expand Down

0 comments on commit 7ca44e7

Please sign in to comment.