Update AcquireBuild.ps1 (#2851)
authorJuan Hoyos <juan.s.hoyos@outlook.com>
Tue, 8 Feb 2022 03:56:10 +0000 (19:56 -0800)
committerGitHub <noreply@github.com>
Tue, 8 Feb 2022 03:56:10 +0000 (19:56 -0800)
eng/release/Scripts/AcquireBuild.ps1

index b213d711d1b44c74f120dbea74f7dc2da858f639..ecab93729fb72e81f3adf93b829a8df546555026 100644 (file)
@@ -7,6 +7,7 @@ param(
   [Parameter(Mandatory=$true)][string] $MaestroToken,
   [Parameter(Mandatory=$true)][string] $GitHubToken,
   [Parameter(Mandatory=$false)][string] $MaestroApiEndPoint = 'https://maestro-prod.westus2.cloudapp.azure.com',
+  [Parameter(Mandatory=$false)][string] $DarcVersion = $null,
   [switch] $help,
   [Parameter(ValueFromRemainingArguments=$true)][String[]]$properties
 )
@@ -45,7 +46,7 @@ try {
     }
     catch{
         . $PSScriptRoot\..\..\common\tools.ps1
-        $darc = Get-Darc "1.1.0-beta.20602.1"
+        $darc = Get-Darc $DarcVersion
     }
 
     & $darc gather-drop `
@@ -58,6 +59,7 @@ try {
         --azdev-pat $AzdoToken `
         --bar-uri $MaestroApiEndPoint `
         --password $MaestroToken `
+        --separated `
         --verbose
 
     if ($LastExitCode -ne 0) {
@@ -70,4 +72,4 @@ try {
 }
 catch {
     Write-Host $_
-}
\ No newline at end of file
+}