mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
tetsd
This commit is contained in:
parent
aec087af47
commit
5fa9ea74f6
1 changed files with 2 additions and 2 deletions
|
@ -5,12 +5,12 @@ param([String]$env='local')
|
||||||
"Build Version: " + $env:APPVEYOR_BUILD_VERSION | Write-Output;
|
"Build Version: " + $env:APPVEYOR_BUILD_VERSION | Write-Output;
|
||||||
"Base Path: " + $env:APPVEYOR_BUILD_FOLDER | Write-Output;
|
"Base Path: " + $env:APPVEYOR_BUILD_FOLDER | Write-Output;
|
||||||
|
|
||||||
$appSettingsPath = $basePath + '\src\Ombi\appsettings.json'
|
$appSettingsPath = $env:APPVEYOR_BUILD_FOLDER + '\src\Ombi\appsettings.json'
|
||||||
$appSettings = Get-Content $appSettingsPath -raw
|
$appSettings = Get-Content $appSettingsPath -raw
|
||||||
$appSettings = $appSettings.Replace("{{VERSIONNUMBER}}",$ver);
|
$appSettings = $appSettings.Replace("{{VERSIONNUMBER}}",$ver);
|
||||||
Set-Content -Path $appSettingsPath -Value $appSettings
|
Set-Content -Path $appSettingsPath -Value $appSettings
|
||||||
|
|
||||||
$configPath = $basePath + '\src\Ombi\wwwroot\app\config.ts';
|
$configPath = $env:APPVEYOR_BUILD_FOLDER + '\src\Ombi\wwwroot\app\config.ts';
|
||||||
$config = Get-Content $configPath -raw
|
$config = Get-Content $configPath -raw
|
||||||
|
|
||||||
$config = $config.Replace("{{ENVIRONMENT}}",$env);
|
$config = $config.Replace("{{ENVIRONMENT}}",$env);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue