From 4701bcb76892bffb6debc16e1e9dfcab33eefb3c Mon Sep 17 00:00:00 2001 From: William Lee Date: Thu, 18 May 2017 21:33:47 -0700 Subject: [PATCH] Produce Debian 8 native package (#6604) * Produce Debian 8 native package Since Debian is a branch from Ubuntu threat them the same Tested on Debian 8 VM * fix file path * Fix name field in Publish Deb packages * publish debian 8 native to Azure --- build/FileExtensions.props | 4 ++-- build/InstallerInfo.props | 4 ++-- build/package/Installer.DEB.proj | 6 +++--- build/publish/PublishDebian.targets | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/build/FileExtensions.props b/build/FileExtensions.props index 210287ae0..cc9f7e79c 100644 --- a/build/FileExtensions.props +++ b/build/FileExtensions.props @@ -6,11 +6,11 @@ .msi .pkg - .deb + .deb .exe $(InstallerExtension) - $(InstallerExtension) + $(InstallerExtension) lib diff --git a/build/InstallerInfo.props b/build/InstallerInfo.props index 8ae54f708..6cc81f094 100644 --- a/build/InstallerInfo.props +++ b/build/InstallerInfo.props @@ -5,8 +5,8 @@ $(InstallerOutputDirectory)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension) $(IntermediateDirectory)/debian/sdk - $(SdkDebianIntermediateDirectory)/debianLayoutDirectory - $(IntermediateDirectory)/layouts + $(SdkDebianIntermediateDirectory)/debianLayoutDirectory + $(IntermediateDirectory)/layouts $(LayoutDirectory)/$(ArtifactNameSdk) diff --git a/build/package/Installer.DEB.proj b/build/package/Installer.DEB.proj index 80aefcc73..9310623cc 100644 --- a/build/package/Installer.DEB.proj +++ b/build/package/Installer.DEB.proj @@ -10,11 +10,11 @@ TestDebuild; BuildSdkDeb; TestSdkDeb;" - Condition=" '$(OSName)' == 'ubuntu' " + Condition=" '$(OSName)' == 'ubuntu' OR '$(OSName)' == 'debian' " Outputs="@(GeneratedInstallers)"/> - - - + + dotnet-dev-$(SdkVersion) + - $(DotnetBlobRootUrl)/$(Product)/$(FullNugetVersion)/%(SdkInstallerFileItemGroup.Filename)%(SdkInstallerFileItemGroup.Extension) + $(DotnetBlobRootUrl)/$(Product)/$(FullNugetVersion)/$(ArtifactNameWithVersionSdk)$(InstallerExtension) $(SdkDebianIntermediateDirectory)/package_upload.json 1 @@ -19,7 +19,7 @@ - +