mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Build task changes
This commit is contained in:
parent
1677097e5b
commit
aec087af47
2 changed files with 4 additions and 6 deletions
|
@ -1,11 +1,9 @@
|
|||
|
||||
param([String]$env='local',
|
||||
[String]$ver='3.0.0',
|
||||
[String]$basePath='')
|
||||
param([String]$env='local')
|
||||
|
||||
"Environment: " + $env | Write-Output;
|
||||
"Build Version: " + $ver | Write-Output;
|
||||
"Base Path: " + $basePath | Write-Output;
|
||||
"Build Version: " + $env:APPVEYOR_BUILD_VERSION | Write-Output;
|
||||
"Base Path: " + $env:APPVEYOR_BUILD_FOLDER | Write-Output;
|
||||
|
||||
$appSettingsPath = $basePath + '\src\Ombi\appsettings.json'
|
||||
$appSettings = Get-Content $appSettingsPath -raw
|
||||
|
|
|
@ -3,7 +3,7 @@ configuration: Release
|
|||
os: Visual Studio 2017
|
||||
before_build:
|
||||
- ps: Update-NodeJsInstallation 7.8.0
|
||||
- ps: .\%APPVEYOR_BUILD_FOLDER%\BuildTask.ps1 -env "live" -ver "%APPVEYOR_BUILD_VERSION%" -basePath "%APPVEYOR_BUILD_FOLDER%"
|
||||
- ps: .\BuildTask.ps1 -env "live"
|
||||
- cmd: cd src/ombi
|
||||
- node --version
|
||||
- appveyor-retry dotnet restore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue