Skip to content

Commit ef65e5b

Browse files
committed
Moving v2 build to devops (#5781)
Moving v2 build to devops.
1 parent c5d990d commit ef65e5b

File tree

6 files changed

+547
-12
lines changed

6 files changed

+547
-12
lines changed

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,13 @@ for:
5353
$hasTag = Test-Path env:APPVEYOR_REPO_TAG_NAME
5454
$isbuildFromMasterBranch = $env:APPVEYOR_REPO_BRANCH -eq "master"
5555
$includeSuffix = (-Not ($hasTag -OR $isBuildFromMasterBranch))
56-
56+
$bypassPackaging = $env:APPVEYOR_PULL_REQUEST_NUMBER -and -not $env:APPVEYOR_PULL_REQUEST_TITLE.Contains("[pack]")
57+
5758
if (-Not $includeSuffix) {
5859
$env:Configuration = "Release"
5960
}
6061
61-
.\build.ps1 -buildNumber "$env:APPVEYOR_BUILD_NUMBER" -includeSuffix $includeSuffix
62+
.\build.ps1 -buildNumber "$env:APPVEYOR_BUILD_NUMBER" -includeSuffix $includeSuffix -$bypassPackaging $bypassPackaging
6263
after_build:
6364
- ps: >
6465
$bypassPackaging = $env:APPVEYOR_PULL_REQUEST_NUMBER -and -not $env:APPVEYOR_PULL_REQUEST_TITLE.Contains("[pack]")

0 commit comments

Comments
 (0)