mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
!build
This commit is contained in:
parent
dd585afabc
commit
d2731fc1ef
2 changed files with 9 additions and 10 deletions
|
@ -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') {
|
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"
|
Write-Output "This is a deployment build"
|
||||||
$env:Deploy = true
|
$env:Deploy = 'true'
|
||||||
./build.ps1 --settings_skipverification=true
|
./build.ps1 --settings_skipverification=true
|
||||||
}
|
}
|
||||||
Else
|
Else
|
||||||
{
|
{
|
||||||
$env:Deploy = false
|
$env:Deploy = 'false'
|
||||||
Write-Output "This is a not a deployment build"
|
Write-Output "This is a not a deployment build"
|
||||||
./build.ps1 --settings_skipverification=true --target=build
|
./build.ps1 --settings_skipverification=true --target=build
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ skip_commits:
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- ps: |
|
- ps: |
|
||||||
If($env:Deploy -eq true)
|
If($env:Deploy -eq 'true')
|
||||||
{
|
{
|
||||||
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
||||||
Get-ChildItem .\*.gz | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
Get-ChildItem .\*.gz | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
||||||
|
|
13
build.cake
13
build.cake
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
#tool "nuget:?package=GitVersion.CommandLine"
|
#tool "nuget:?package=GitVersion.CommandLine&version=4.0.0"
|
||||||
#addin "Cake.Gulp"
|
#addin nuget:?package=SharpZipLib&version=1.1.0
|
||||||
#addin "SharpZipLib"
|
#addin nuget:?package=Cake.Compression&version=0.2.2
|
||||||
#addin nuget:?package=Cake.Compression&version=0.1.4
|
|
||||||
#addin "Cake.Incubator&version=3.1.0"
|
#addin "Cake.Incubator&version=3.1.0"
|
||||||
#addin "Cake.Yarn"
|
#addin nuget:?package=Cake.Yarn&version=0.4.5
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
// ARGUMENTS
|
// ARGUMENTS
|
||||||
|
@ -288,8 +287,8 @@ Task("Default")
|
||||||
Task("Build")
|
Task("Build")
|
||||||
.IsDependentOn("SetVersionInfo")
|
.IsDependentOn("SetVersionInfo")
|
||||||
.IsDependentOn("Run-Unit-Tests")
|
.IsDependentOn("Run-Unit-Tests")
|
||||||
.IsDependentOn("Run-Server-Build")
|
.IsDependentOn("Run-Server-Build");
|
||||||
.IsDependentOn("Run-UI-Build");
|
// .IsDependentOn("Run-UI-Build");
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
// EXECUTION
|
// EXECUTION
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue