dotnet-installer/build/publish/Checksum.targets

23 lines
1,001 B
Text
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="GenerateChecksums"
DependsOnTargets="Init;
InitializeChecksumItemGroup;"
Inputs="@(ArtifactsForGeneratingChecksums)"
Outputs="%(ArtifactsForGeneratingChecksums.DestinationPath)">
<GenerateChecksums Items="@(ArtifactsForGeneratingChecksums)" />
</Target>
<Target Name="InitializeChecksumItemGroup"
DependsOnTargets="Init;
GatherItemsForPattern">
<ItemGroup>
<ArtifactsForGeneratingChecksums Include="@(ForPublishing)">
<DestinationPath>%(ForPublishing.FullPath).sha</DestinationPath>
<RelativeBlobPath>%(ForPublishing.RelativeBlobPath).sha</RelativeBlobPath>
2018-01-22 15:42:32 +00:00
<ManifestArtifactData>ShipInstaller=dotnetclichecksums</ManifestArtifactData>
</ArtifactsForGeneratingChecksums>
</ItemGroup>
</Target>
</Project>