diff --git a/build/package/Microsoft.DotNet.Cli.Installer.DEB.targets b/build/package/Microsoft.DotNet.Cli.Installer.DEB.targets index 0bcba8086..67cf1ec5d 100644 --- a/build/package/Microsoft.DotNet.Cli.Installer.DEB.targets +++ b/build/package/Microsoft.DotNet.Cli.Installer.DEB.targets @@ -1,9 +1,117 @@ - + + + + + + + false + true + + $(RepoRoot)/scripts/package/package-debian.sh + $(RepoRoot)/Documentation/manpages + + $(PackagesDirectory) + $(InstallerOutputDirectory)/$(ArtifactNameWithVersionSdk)$(InstallerExtension) + + dotnet-dev-$(SdkVersion) + dotnet-sharedframework-$(SharedFrameworkName)-$(SharedFrameworkVersion) + $(SharedFrameworkDebianPackageName.ToLower()) + dotnet-hostfxr-$(HostFxrVersion) + $(HostFxrDebianPackageName.ToLower()) + dotnet-host + + $(IntermediateDirectory)/debian/sdk + + $(SdkDebianIntermediateDirectory)/debian-testResults.xml + /usr/share/dotnet/dotnet + $(RepoRoot)/test/EndToEnd + + $(SdkDebianIntermediateDirectory)/$(SdkVersion).sentinel + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/package/Microsoft.DotNet.Cli.Nupkg.targets b/build/package/Microsoft.DotNet.Cli.Nupkg.targets index ddb61ba9c..f6f487221 100644 --- a/build/package/Microsoft.DotNet.Cli.Nupkg.targets +++ b/build/package/Microsoft.DotNet.Cli.Nupkg.targets @@ -59,7 +59,7 @@ Inputs="@(ProjectPackTargetInputs -> '%(Identity)')" Outputs="@(ProjectPackTargetOutputs -> '%(Identity)')"> - ("SharedFrameworkInstallerFile"), sharedFrameworkPkgIntermediatePath, true); File.Copy(c.BuildContext.Get("SharedHostInstallerFile"), sharedHostPkgIntermediatePath, true); File.Copy(c.BuildContext.Get("HostFxrInstallerFile"), hostFxrPkgIntermediatePath, true); diff --git a/scripts/package/package-debian.sh b/scripts/package/package-debian.sh index 190cae05c..05306516d 100755 --- a/scripts/package/package-debian.sh +++ b/scripts/package/package-debian.sh @@ -115,10 +115,6 @@ parseargs(){ echo "Provide the NuGet name of the targetted Shared Framework. Missing option '--framework-nuget-name'" && help fi - if [ -z "$PREVIOUS_VERSION_URL" ]; then - echo "Provide a URL to the previous debian pacakge (Required for running upgrade tests). Missing option '--previous-version-url'" && help - fi - if [ -z "$SHARED_FRAMEWORK_NUGET_VERSION" ]; then echo "Provide the NuGet version of the targetted Shared Framework. Missing option '--framework-nuget-version'" && help fi