From 702f3c62666e065908b046fdcf85fc91c6e10d8d Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Wed, 17 Mar 2021 10:06:44 -0700 Subject: [PATCH] Update the minSize build package filter to be explicit --- tools/releaseBuild/azureDevOps/templates/windows-packaging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/releaseBuild/azureDevOps/templates/windows-packaging.yml b/tools/releaseBuild/azureDevOps/templates/windows-packaging.yml index 08a05a1a17e..ef1278b1299 100644 --- a/tools/releaseBuild/azureDevOps/templates/windows-packaging.yml +++ b/tools/releaseBuild/azureDevOps/templates/windows-packaging.yml @@ -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)