mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
!build
This commit is contained in:
parent
fadffaf891
commit
b7e909b1e4
2 changed files with 11 additions and 23 deletions
32
appveyor.yml
32
appveyor.yml
|
@ -28,10 +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"
|
||||||
./build.ps1 --settings_skipverification=true --target=build
|
$env:Deploy = true
|
||||||
|
./build.ps1 --settings_skipverification=true
|
||||||
}
|
}
|
||||||
Else
|
Else
|
||||||
{
|
{
|
||||||
|
$emv: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
|
||||||
}
|
}
|
||||||
|
@ -41,29 +43,15 @@ skip_commits:
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- cmd: >-
|
- ps: |
|
||||||
|
If($env:Deploy -eq true)
|
||||||
|
{
|
||||||
|
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
||||||
|
Get-ChildItem .\*.gz | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
||||||
|
}
|
||||||
|
|
||||||
appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.2\windows.zip"
|
|
||||||
|
|
||||||
|
|
||||||
appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.2\osx.tar.gz"
|
|
||||||
|
|
||||||
|
|
||||||
appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.2\linux.tar.gz"
|
|
||||||
|
|
||||||
|
|
||||||
appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.2\linux-arm.tar.gz"
|
|
||||||
|
|
||||||
|
|
||||||
appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.2\windows-32bit.zip"
|
|
||||||
|
|
||||||
|
|
||||||
appveyor PushArtifact "%APPVEYOR_BUILD_FOLDER%\src\Ombi\bin\Release\netcoreapp2.2\linux-arm64.tar.gz"
|
|
||||||
- ps: >-
|
|
||||||
$wc = New-Object 'System.Net.WebClient'
|
$wc = New-Object 'System.Net.WebClient'
|
||||||
|
$wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\src\**\TestResults\Test*.trx))
|
||||||
$wc.UploadFile("https://ci.appveyor.com/api/testresults/xunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\src\**\TestResults\Test*.trx))
|
|
||||||
|
|
||||||
|
|
||||||
#cache:
|
#cache:
|
||||||
#- '%USERPROFILE%\.nuget\packages'
|
#- '%USERPROFILE%\.nuget\packages'
|
||||||
|
|
|
@ -135,7 +135,7 @@ Task("Gulp Publish")
|
||||||
Task("TSLint")
|
Task("TSLint")
|
||||||
.Does(() =>
|
.Does(() =>
|
||||||
{
|
{
|
||||||
Yarn.FromPath(uiProjectDir).RunScript("lint");
|
//Yarn.FromPath(uiProjectDir).RunScript("lint");
|
||||||
});
|
});
|
||||||
|
|
||||||
Task("PrePublish")
|
Task("PrePublish")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue