pull/3895/head
Jamie Rees 6 years ago
parent dd585afabc
commit d2731fc1ef

@ -28,12 +28,12 @@ build_script:
If(($env:APPVEYOR_REPO_BRANCH -in $deployBranches -Or $env:APPVEYOR_REPO_COMMIT_MESSAGE -Match '!deploy') -And $env:APPVEYOR_REPO_COMMIT_MESSAGE -NotMatch '!build') {
Write-Output "This is a deployment build"
$env:Deploy = true
$env:Deploy = 'true'
./build.ps1 --settings_skipverification=true
}
Else
{
$env:Deploy = false
$env:Deploy = 'false'
Write-Output "This is a not a deployment build"
./build.ps1 --settings_skipverification=true --target=build
}
@ -44,7 +44,7 @@ skip_commits:
after_build:
- ps: |
If($env:Deploy -eq true)
If($env:Deploy -eq 'true')
{
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
Get-ChildItem .\*.gz | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }

@ -1,10 +1,9 @@
#tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Gulp"
#addin "SharpZipLib"
#addin nuget:?package=Cake.Compression&version=0.1.4
#tool "nuget:?package=GitVersion.CommandLine&version=4.0.0"
#addin nuget:?package=SharpZipLib&version=1.1.0
#addin nuget:?package=Cake.Compression&version=0.2.2
#addin "Cake.Incubator&version=3.1.0"
#addin "Cake.Yarn"
#addin nuget:?package=Cake.Yarn&version=0.4.5
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
@ -288,8 +287,8 @@ Task("Default")
Task("Build")
.IsDependentOn("SetVersionInfo")
.IsDependentOn("Run-Unit-Tests")
.IsDependentOn("Run-Server-Build")
.IsDependentOn("Run-UI-Build");
.IsDependentOn("Run-Server-Build");
// .IsDependentOn("Run-UI-Build");
//////////////////////////////////////////////////////////////////////
// EXECUTION

Loading…
Cancel
Save