Fix version coherence check to filter out non-package artifacts

This commit is contained in:
Nate McMaster 2018-05-30 11:34:03 -07:00
parent faf600ce71
commit 71fb3b2f6a
No known key found for this signature in database
GPG Key ID: A778D9601BD78810
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@
<Target Name="VerifyCoherentVersions" DependsOnTargets="ResolveRepoInfo"> <Target Name="VerifyCoherentVersions" DependsOnTargets="ResolveRepoInfo">
<ItemGroup> <ItemGroup>
<ShippingPackageFiles Include="$(BuildDir)*.nupkg" Exclude="$(BuildDir)*.symbols.nupkg" /> <ShippingPackageFiles Include="$(BuildDir)*.nupkg" Exclude="$(BuildDir)*.symbols.nupkg" />
<ShippedExternalDependency Include="%(ShippedArtifactInfo.PackageId)" Version="%(Version)" /> <ShippedExternalDependency Include="%(ShippedArtifactInfo.PackageId)" Version="%(ShippedArtifactInfo.Version)" Condition="'%(ShippedArtifactInfo.ArtifactType)' == 'NuGetPackage' " />
</ItemGroup> </ItemGroup>
<RepoTasks.VerifyCoherentVersions <RepoTasks.VerifyCoherentVersions