Build task changes

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

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