From 01e6de332f7468e5a204945e0ded654a91e66d65 Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Thu, 29 Mar 2018 10:48:52 -0700 Subject: 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. --- src/.nuget/dir.traversal.targets | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'src/.nuget') diff --git a/src/.nuget/dir.traversal.targets b/src/.nuget/dir.traversal.targets index e0bcdb8cbb..52a33c42d1 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)' == ''" /> -- cgit v1.2.3