diff --git a/appveyor.yml b/appveyor.yml index bdebf3c96..438ffa2b2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 } diff --git a/build.cake b/build.cake index d08afe622..c8961a370 100644 --- a/build.cake +++ b/build.cake @@ -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