Attempt to fix the build script

pull/3895/head
Jamie Rees 6 years ago
parent a06a2941a1
commit a2c349eac7

@ -44,11 +44,20 @@ skip_commits:
after_build:
- ps: |
If($env:Deploy -eq 'true')
$deployBranches =
"feature/v4",
"develop",
"master";
If(($env:APPVEYOR_REPO_BRANCH -in $deployBranches -Or $env:APPVEYOR_REPO_COMMIT_MESSAGE -Match '!deploy') -And $env:APPVEYOR_REPO_COMMIT_MESSAGE -NotMatch '!build')
{
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
Get-ChildItem .\*.gz | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
}
Else
{
Write-Output "No Deployment"
}
#cache:
#- '%USERPROFILE%\.nuget\packages'

Loading…
Cancel
Save