Fix identity package filtering
authorWes Haggard <Wes.Haggard@microsoft.com>
Thu, 29 Mar 2018 17:48:52 +0000 (10:48 -0700)
committerWes Haggard <Wes.Haggard@microsoft.com>
Thu, 29 Mar 2018 21:30:06 +0000 (14:30 -0700)
commit01e6de332f7468e5a204945e0ded654a91e66d65
tree0e92344dbf65d22f6da6aca3e9331a0c9b65e5e2
parent1b0e8e3f76530efb68e40c0c47d1c568b4029f65
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