Copy build artifact to root directory regardless of artifact name

This commit is contained in:
Stefanos A 2013-12-14 00:20:39 +01:00
parent 37b44dd2e2
commit 216a9778ab

View file

@ -60,10 +60,13 @@
<ReadLinesFromFile File="../../Version.txt">
<Output TaskParameter="Lines" ItemName="Version" />
</ReadLinesFromFile>
<Copy SourceFiles=".\OpenTK.1.1.nupkg" DestinationFiles="@(Version-&gt;'..\..\opentk-%(Identity).nupkg')" />
<CreateItem Include="OpenTK*.nupkg">
<Output TaskParameter="Include" ItemName="NugetPackage" />
</CreateItem>
<Copy SourceFiles="@(NugetPackage)" DestinationFiles="@(Version-&gt;'..\..\opentk-%(Identity).nupkg')" />
</Target>
<Target Name="Clean">
<CreateItem Include="OpenTK.1.1.nupkg;lib/**">
<CreateItem Include="OpenTK.*.nupkg;lib/**">
<Output TaskParameter="Include" ItemName="FilesToDelete" />
</CreateItem>
<Delete Files="@(FilesToDelete)" />