3419a87d6f
Reference from https://github.com/dotnet/core-setup/tree/master/src/pkg/packaging/rpm The goal is to have parity with Debian, but does not publish to the feed When run the script with rhel, it will produce rpm file in the package step and publish rpm to the blob storage
22 lines
1.2 KiB
XML
22 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="14.0" DefaultTargets="Layout" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildThisFileDirectory)/package/Layout.targets" />
|
|
<Import Project="$(MSBuildThisFileDirectory)/package/Archive.targets" />
|
|
<Import Project="$(MSBuildThisFileDirectory)/package/Nupkg.targets" />
|
|
<Import Project="$(MSBuildThisFileDirectory)/package/Installer.DEB.proj" />
|
|
<Import Project="$(MSBuildThisFileDirectory)/package/Installer.MSI.targets" />
|
|
<Import Project="$(MSBuildThisFileDirectory)/package/Installer.PKG.targets" />
|
|
<Import Project="$(MSBuildThisFileDirectory)/package/Installer.RPM.targets" />
|
|
|
|
<Target Name="GenerateInstallers"
|
|
Condition=" '$(SkipBuildingInstallers)' != 'true' "
|
|
DependsOnTargets="Init;Layout;GeneratePkgs;GenerateDebs;GenerateMsis;GenerateRpms" />
|
|
|
|
<Target Name="Package"
|
|
DependsOnTargets="BuildDotnetCliBuildFramework;
|
|
Init;
|
|
Layout;
|
|
GenerateNugetPackages;
|
|
GenerateArchives;
|
|
GenerateInstallers" />
|
|
</Project>
|