indentation
This commit is contained in:
@@ -146,15 +146,25 @@ stages:
|
||||
|
||||
#Update the version in templates also
|
||||
|
||||
$templatePath ='build/templates/UmbracoSolution/.template.config/template.json'
|
||||
$templatePath =
|
||||
'build/templates/UmbracoSolution/.template.config/template.json'
|
||||
|
||||
$a = Get-Content $templatePath -raw | ConvertFrom-Json
|
||||
|
||||
$a.symbols.version.defaultValue = $continuous
|
||||
|
||||
$a | ConvertTo-Json -depth 32| set-content $templatePath
|
||||
|
||||
|
||||
$templatePath =
|
||||
'build/templates/UmbracoPackage/.template.config/template.json'
|
||||
|
||||
$a = Get-Content $templatePath -raw | ConvertFrom-Json
|
||||
|
||||
$a.symbols.version.defaultValue = $continuous
|
||||
|
||||
$a | ConvertTo-Json -depth 32| set-content $templatePath
|
||||
|
||||
$template2Path = 'build/templates/UmbracoPackage/.template.config/template.json'
|
||||
$b = Get-Content $template2Path -raw | ConvertFrom-Json
|
||||
$b.symbols.version.defaultValue = $continuous
|
||||
$b | ConvertTo-Json -depth 32| set-content $template2Path
|
||||
|
||||
Write-Host "Building: $continuous"
|
||||
- task: PowerShell@1
|
||||
|
||||
Reference in New Issue
Block a user