From: Wes Haggard Date: Thu, 29 Mar 2018 17:48:52 +0000 (-0700) Subject: Fix identity package filtering X-Git-Tag: accepted/tizen/base/20180629.140029~50^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41efe17367bc8bb51ba26b0253534cc672ac574a;p=platform%2Fupstream%2Fcoreclr.git Fix identity package filtering We only want to filter out identity package builds on official builds that aren't windows x64, to avoid building and publishing them more then once in an official build. We also need to account for source-build which sets the OfficialBuildId property to replicate the official builds, so we also look at the DotNetBuildOffline property to determine that we should still build the identity package. --- diff --git a/src/.nuget/dir.traversal.targets b/src/.nuget/dir.traversal.targets index e0bcdb8..52a33c4 100644 --- a/src/.nuget/dir.traversal.targets +++ b/src/.nuget/dir.traversal.targets @@ -3,21 +3,28 @@ - - - true + + true + + + true + + + false - + <_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == '$(PackageRID)'" /> - - <_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == '$(PackageRID)' OR '%(Project.PackageTargetRuntime)' == ''" /> + + <_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == ''" />