31 lines
1.3 KiB
XML
31 lines
1.3 KiB
XML
<Project>
|
|
<PropertyGroup Condition="'$(GenerateChecksums)' == 'true'">
|
|
<!-- $(InstallersOutputPath) is not defined. Root Directory.Build.props is not imported. -->
|
|
<InstallersOutputPath>$(ArtifactsDir)installers\</InstallersOutputPath>
|
|
<_SuppressSdkImports>false</_SuppressSdkImports>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="PopulateGenerateChecksumItems"
|
|
Condition="'$(GenerateChecksums)' == 'true'"
|
|
AfterTargets="Build"
|
|
BeforeTargets="GenerateChecksums" >
|
|
|
|
<ItemGroup>
|
|
<InstallerFiles Include="$(InstallersOutputPath)**\*.msi" />
|
|
<InstallerFiles Include="$(InstallersOutputPath)**\*.exe" />
|
|
<InstallerFiles Include="$(InstallersOutputPath)**\*.zip" Exclude="$(InstallersOutputPath)**\*.wixpack.zip" />
|
|
<InstallerFiles Include="$(InstallersOutputPath)**\*.tar.gz" />
|
|
<InstallerFiles Include="$(InstallersOutputPath)**\*.wixlib" />
|
|
<InstallerFiles Include="$(InstallersOutputPath)**\*.deb" />
|
|
<InstallerFiles Include="$(InstallersOutputPath)**\*.rpm" />
|
|
<GenerateChecksumItems Include="%(InstallerFiles.Identity)" >
|
|
<DestinationPath>%(FullPath).sha512</DestinationPath>
|
|
</GenerateChecksumItems>
|
|
</ItemGroup>
|
|
|
|
</Target>
|
|
|
|
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(GenerateChecksums)' == 'true'" />
|
|
|
|
</Project>
|