|
|
|
@ -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'
|
|
|
|
|