mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -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',
|
param([String]$env='local')
|
||||||
[String]$ver='3.0.0',
|
|
||||||
[String]$basePath='')
|
|
||||||
|
|
||||||
"Environment: " + $env | Write-Output;
|
"Environment: " + $env | Write-Output;
|
||||||
"Build Version: " + $ver | Write-Output;
|
"Build Version: " + $env:APPVEYOR_BUILD_VERSION | Write-Output;
|
||||||
"Base Path: " + $basePath | Write-Output;
|
"Base Path: " + $env:APPVEYOR_BUILD_FOLDER | Write-Output;
|
||||||
|
|
||||||
$appSettingsPath = $basePath + '\src\Ombi\appsettings.json'
|
$appSettingsPath = $basePath + '\src\Ombi\appsettings.json'
|
||||||
$appSettings = Get-Content $appSettingsPath -raw
|
$appSettings = Get-Content $appSettingsPath -raw
|
||||||
|
|
|
@ -3,7 +3,7 @@ configuration: Release
|
||||||
os: Visual Studio 2017
|
os: Visual Studio 2017
|
||||||
before_build:
|
before_build:
|
||||||
- ps: Update-NodeJsInstallation 7.8.0
|
- 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
|
- cmd: cd src/ombi
|
||||||
- node --version
|
- node --version
|
||||||
- appveyor-retry dotnet restore
|
- appveyor-retry dotnet restore
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue