2 [Parameter
(Mandatory
=$true)][string
] $ReleaseConfigsPath # Full path to ReleaseConfigs.txt asset
5 . $PSScriptRoot\post-build-utils
.ps1
8 $Content = Get-Content $ReleaseConfigsPath
10 $BarId = $Content | Select
-Index
0
13 $Content | Select
-Index
1 | ForEach-Object { $Channels += "$_ ," }
15 $IsStableBuild = $Content | Select
-Index
2
17 Write-PipelineSetVariable
-Name
'BARBuildId' -Value
$BarId
18 Write-PipelineSetVariable
-Name
'InitialChannels' -Value
"$Channels"
19 Write-PipelineSetVariable
-Name
'IsStableBuild' -Value
$IsStableBuild
23 Write-Host $_.Exception
24 Write-Host $_.ScriptStackTrace