Skip to content
This repository was archived by the owner on Feb 25, 2021. It is now read-only.

Commit 1eea415

Browse files
authored
Merge pull request #1919 from aspnet/prkrishn/undo-accidental
Revert accidental deletion
2 parents cc30f4e + 63b29e5 commit 1eea415

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
param(
2+
[Parameter(Mandatory=$true)][string] $ReleaseConfigsPath # Full path to ReleaseConfigs.txt asset
3+
)
4+
5+
. $PSScriptRoot\post-build-utils.ps1
6+
7+
try {
8+
$Content = Get-Content $ReleaseConfigsPath
9+
10+
$BarId = $Content | Select -Index 0
11+
12+
$Channels = ""
13+
$Content | Select -Index 1 | ForEach-Object { $Channels += "$_ ," }
14+
15+
$IsStableBuild = $Content | Select -Index 2
16+
17+
Write-PipelineSetVariable -Name 'BARBuildId' -Value $BarId
18+
Write-PipelineSetVariable -Name 'InitialChannels' -Value "$Channels"
19+
Write-PipelineSetVariable -Name 'IsStableBuild' -Value $IsStableBuild
20+
}
21+
catch {
22+
Write-Host $_
23+
Write-Host $_.Exception
24+
Write-Host $_.ScriptStackTrace
25+
ExitWithExitCode 1
26+
}

0 commit comments

Comments
 (0)