mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Fixed build script
This commit is contained in:
parent
01252457d3
commit
1b6d74bbbe
1 changed files with 1 additions and 8 deletions
|
@ -7,12 +7,5 @@ param([String]$env='local')
|
|||
|
||||
$appSettingsPath = $env:APPVEYOR_BUILD_FOLDER + '\src\Ombi\appsettings.json'
|
||||
$appSettings = Get-Content $appSettingsPath -raw
|
||||
$appSettings = $appSettings.Replace("{{VERSIONNUMBER}}",$ver);
|
||||
$appSettings = $appSettings.Replace("{{VERSIONNUMBER}}",$env:APPVEYOR_BUILD_VERSION);
|
||||
Set-Content -Path $appSettingsPath -Value $appSettings
|
||||
|
||||
$configPath = $env:APPVEYOR_BUILD_FOLDER + '\src\Ombi\wwwroot\app\config.ts';
|
||||
$config = Get-Content $configPath -raw
|
||||
|
||||
$config = $config.Replace("{{ENVIRONMENT}}",$env);
|
||||
$config | Write-Output
|
||||
Set-Content -Path $configPath -Value $config
|
Loading…
Add table
Add a link
Reference in a new issue