Build task changes

pull/1425/head
Jamie.Rees 8 years ago
parent 1677097e5b
commit aec087af47

@ -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…
Cancel
Save