This commit is contained in:
Jamie Rees 2019-04-11 21:28:24 +01:00
parent 809859b3ba
commit 8fd022da1c

View file

@ -21,10 +21,10 @@ install:
- cmd: tsc -v - cmd: tsc -v
build_script: build_script:
- ps: | - ps: |
$deployBranches = @{ $deployBranches = {
feature/v4, "feature/v4",
develop, "develop",
master "master"
} }
If(($env:APPVEYOR_REPO_BRANCH -in $deployBranches -Or $env:APPVEYOR_REPO_COMMIT_MESSAGE -Match '!deploy') -And $env:APPVEYOR_REPO_COMMIT_MESSAGE -notlike '!build') { If(($env:APPVEYOR_REPO_BRANCH -in $deployBranches -Or $env:APPVEYOR_REPO_COMMIT_MESSAGE -Match '!deploy') -And $env:APPVEYOR_REPO_COMMIT_MESSAGE -notlike '!build') {
Write-Output "This is a deployment build" Write-Output "This is a deployment build"