Skip to content

Commit 463e505

Browse files
committed
only copy the current version's packages to the GeneratedNuGetPackages folder
1 parent 3ffd9e7 commit 463e505

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Name="CopyPackageToPackagesOutputPath"
1111
AfterTargets="Pack">
1212
<ItemGroup>
13-
<GeneratedPackages Include="$(PackageOutputAbsolutePath)\*.*nupkg"/>
13+
<GeneratedPackages Include="$(PackageOutputAbsolutePath)\*$(Version).*nupkg"/>
1414
</ItemGroup>
1515
<Copy SourceFiles="@(GeneratedPackages)" DestinationFolder="$(PackagesOutputPath)" />
1616
</Target>

0 commit comments

Comments
 (0)