Update the minSize build package filter to be explicit (#15055)

This commit is contained in:
Dongbo Wang 2021-03-21 15:11:04 -07:00 committed by GitHub
parent 2422cf8169
commit b001003670
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ jobs:
- powershell: |
$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"
Write-Host ("sending " + $vstsCommandString)