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

Commit

Permalink
Merge pull request #1919 from aspnet/prkrishn/undo-accidental
Browse files Browse the repository at this point in the history
Revert accidental deletion
  • Loading branch information
wtgodbe committed Oct 23, 2019
2 parents cc30f4e + 63b29e5 commit 1eea415
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions eng/common/post-build/setup-maestro-vars.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
param(
[Parameter(Mandatory=$true)][string] $ReleaseConfigsPath # Full path to ReleaseConfigs.txt asset
)

. $PSScriptRoot\post-build-utils.ps1

try {
$Content = Get-Content $ReleaseConfigsPath

$BarId = $Content | Select -Index 0

$Channels = ""
$Content | Select -Index 1 | ForEach-Object { $Channels += "$_ ," }

$IsStableBuild = $Content | Select -Index 2

Write-PipelineSetVariable -Name 'BARBuildId' -Value $BarId
Write-PipelineSetVariable -Name 'InitialChannels' -Value "$Channels"
Write-PipelineSetVariable -Name 'IsStableBuild' -Value $IsStableBuild
}
catch {
Write-Host $_
Write-Host $_.Exception
Write-Host $_.ScriptStackTrace
ExitWithExitCode 1
}

0 comments on commit 1eea415

Please sign in to comment.