Skip to content

Commit

Permalink
Moving v2 build to devops (Azure#5781)
Browse files Browse the repository at this point in the history
Moving v2 build to devops.
  • Loading branch information
yojagad authored Mar 18, 2020
1 parent bfc22dd commit 81bc1e5
Show file tree
Hide file tree
Showing 6 changed files with 547 additions and 12 deletions.
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ for:
$hasTag = Test-Path env:APPVEYOR_REPO_TAG_NAME
$isbuildFromMasterBranch = $env:APPVEYOR_REPO_BRANCH -eq "master"
$includeSuffix = (-Not ($hasTag -OR $isBuildFromMasterBranch))
$bypassPackaging = $env:APPVEYOR_PULL_REQUEST_NUMBER -and -not $env:APPVEYOR_PULL_REQUEST_TITLE.Contains("[pack]")
if (-Not $includeSuffix) {
$env:Configuration = "Release"
}
.\build.ps1 -buildNumber "$env:APPVEYOR_BUILD_NUMBER" -includeSuffix $includeSuffix
.\build.ps1 -buildNumber "$env:APPVEYOR_BUILD_NUMBER" -includeSuffix $includeSuffix -$bypassPackaging $bypassPackaging
after_build:
- ps: >
$bypassPackaging = $env:APPVEYOR_PULL_REQUEST_NUMBER -and -not $env:APPVEYOR_PULL_REQUEST_TITLE.Contains("[pack]")
Expand Down
Loading

0 comments on commit 81bc1e5

Please sign in to comment.