Update the minSize
build package filter to be explicit (#15055)
This commit is contained in:
parent
2422cf8169
commit
b001003670
|
@ -41,7 +41,7 @@ jobs:
|
||||||
|
|
||||||
- powershell: |
|
- powershell: |
|
||||||
$pkgFilter = if ( '$(Architecture)' -eq 'arm' ) { "arm32" } else { '$(Architecture)' }
|
$pkgFilter = if ( '$(Architecture)' -eq 'arm' ) { "arm32" } else { '$(Architecture)' }
|
||||||
if ($env:BuildConfiguration -eq 'minSize') { $pkgFilter += '-*' }
|
if ($env:BuildConfiguration -eq 'minSize') { $pkgFilter += '-gc' }
|
||||||
|
|
||||||
$vstsCommandString = "vso[task.setvariable variable=PkgFilter]$pkgFilter"
|
$vstsCommandString = "vso[task.setvariable variable=PkgFilter]$pkgFilter"
|
||||||
Write-Host ("sending " + $vstsCommandString)
|
Write-Host ("sending " + $vstsCommandString)
|
||||||
|
|
Loading…
Reference in a new issue