Build task changes

This commit is contained in:
Jamie.Rees 2017-05-25 13:10:21 +01:00
commit aec087af47
2 changed files with 4 additions and 6 deletions

View file

@ -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

View file

@ -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