From f0127975f9734b6d7bb02a89ec28b8c4fab518f0 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Tue, 29 May 2018 13:22:35 -0700 Subject: [PATCH 1/2] Bump version to 2.1.1 (#4172) * Bump version to 2.1.1 * Update PrereleaseLabel to servicing * Add 2 packages to list of pkgs we're not servicing * Remove 2 packages from list of pkgs we're not servicing --- BranchInfo.props | 4 ++-- src/pkg/packaging/dir.proj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BranchInfo.props b/BranchInfo.props index 0a59699e1f..1a1da31e07 100644 --- a/BranchInfo.props +++ b/BranchInfo.props @@ -2,12 +2,12 @@ 2 1 - 0 + 1 false $(PackageVersionStamp) - rtm + servicing true true diff --git a/src/pkg/packaging/dir.proj b/src/pkg/packaging/dir.proj index 6fe7beddf4..d281aa7253 100644 --- a/src/pkg/packaging/dir.proj +++ b/src/pkg/packaging/dir.proj @@ -168,12 +168,12 @@ - - + + From 6985b9f6844d51ba1197c3f52aabc7291bb15bc1 Mon Sep 17 00:00:00 2001 From: Rakesh Singh Date: Fri, 1 Jun 2018 12:47:38 -0700 Subject: [PATCH 2/2] Stop building old style linux packages and rename *-upgrade.{deb|rpm} packages to the original package name. (#4184) --- buildpipeline/Core-Setup-Linux-BT.json | 247 ------------------------- dir.props | 32 +--- src/pkg/packaging/deb/package.props | 10 +- src/pkg/packaging/rpm/package.props | 19 +- 4 files changed, 22 insertions(+), 286 deletions(-) diff --git a/buildpipeline/Core-Setup-Linux-BT.json b/buildpipeline/Core-Setup-Linux-BT.json index 9729215736..249c358789 100644 --- a/buildpipeline/Core-Setup-Linux-BT.json +++ b/buildpipeline/Core-Setup-Linux-BT.json @@ -272,25 +272,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime packages and Runtime Dep - Ubuntu 14.04 - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1404) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) $(DistroSpecificMSBuildArguments) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -329,25 +310,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - Ubuntu 16.04 - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "$(CommonDockerCommandToBuildRuntimeDepDebPackage) /p:OutputRid=ubuntu.16.04-$(PB_TargetArchitecture) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -386,25 +348,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - Ubuntu 17.10 - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "$(CommonDockerCommandToBuildRuntimeDepDebPackage) /p:OutputRid=ubuntu.17.10-$(PB_TargetArchitecture) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -443,25 +386,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - Ubuntu 18.04 - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "$(CommonDockerCommandToBuildRuntimeDepDebPackage) /p:OutputRid=ubuntu.18.04-$(PB_TargetArchitecture) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -500,25 +424,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - Debian 8 - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "$(CommonDockerCommandToBuildRuntimeDepDebPackage) /p:OutputRid=debian.8-$(PB_TargetArchitecture) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -557,25 +462,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - Debian 9 - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "$(CommonDockerCommandToBuildRuntimeDepDebPackage) /p:OutputRid=debian.9-$(PB_TargetArchitecture) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -671,25 +557,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - Rhel7 - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "run --rm $(DockerCommonRunArgs_Rhel7) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) $(DistroSpecificMSBuildArguments) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -728,25 +595,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - OpenSuse - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "$(CommonDockerCommandToBuildRuntimeDepRPMPackage) /p:OutputRid=opensuse.42-$(PB_TargetArchitecture) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -785,25 +633,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - Fedora 26 - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "$(CommonDockerCommandToBuildRuntimeDepRPMPackage) /p:OutputRid=fedora.26-$(PB_TargetArchitecture) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -842,25 +671,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - Fedora 27 - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "$(CommonDockerCommandToBuildRuntimeDepRPMPackage) /p:OutputRid=fedora.27-$(PB_TargetArchitecture) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -899,25 +709,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - Centos 7 - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "$(CommonDockerCommandToBuildRuntimeDepRPMPackage) /p:OutputRid=centos.7-$(PB_TargetArchitecture) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -956,25 +747,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - Oracle Linux 7 - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "$(CommonDockerCommandToBuildRuntimeDepRPMPackage) /p:OutputRid=oraclelinux.7-$(PB_TargetArchitecture) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, @@ -1013,25 +785,6 @@ "failOnStandardError": "false" } }, - { - "environment": {}, - "enabled": true, - "continueOnError": false, - "alwaysRun": false, - "displayName": "Package Runtime Dep - SLES - Upgradeable", - "timeoutInMinutes": 0, - "task": { - "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", - "versionSpec": "1.*", - "definitionType": "task" - }, - "inputs": { - "filename": "docker", - "arguments": "$(CommonDockerCommandToBuildRuntimeDepRPMPackage) /p:OutputRid=sles.12-$(PB_TargetArchitecture) $(PB_AdditionalMSBuildArguments) /p:BuildUpgradeableLinuxPackages=true", - "workingFolder": "", - "failOnStandardError": "false" - } - }, { "environment": {}, "enabled": true, diff --git a/dir.props b/dir.props index f9d4c2523d..33b43eb782 100644 --- a/dir.props +++ b/dir.props @@ -437,15 +437,6 @@ - dotnet-host - $(SharedHostDebPkgName.ToLower()) - $(DotnetHostFxrString)$(HostResolverVersion) - $(HostFxrDebPkgName.ToLower()) - $(DotnetRuntimeString)$(SharedFrameworkNugetVersion) - $(SharedFxDebPkgName.ToLower()) - $(DotnetRuntimeDependenciesPackageString)$(ProductVersion) - $(RuntimeDependenciesDebPkgName.ToLower()) - $(HostVersion) 1 $(HostResolverVersion) @@ -458,22 +449,15 @@ 1 - + + $(MajorVersion).$(MinorVersion) - -upgrade - - $(SharedHostInstallerStart)$(SharedFrameworkNugetVersion)-$(TargetArchitecture)$(InstallerNameSuffix)$(InstallerExtension) - $(HostFxrInstallerStart)$(HostResolverVersion)-$(TargetArchitecture)$(InstallerNameSuffix)$(InstallerExtension) - $(SharedFrameworkInstallerStart)$(SharedFrameworkNugetVersion)-$(TargetArchitecture)$(InstallerNameSuffix)$(InstallerExtension) - - $(DotnetRuntimeDependenciesPackageInstallerStart)$(ProductMoniker)$(InstallerNameSuffix)$(InstallerExtension) - - $(DotnetHostFxrString)$(PackageNameSuffix) - $(HostFxrDebPkgName.ToLower()) - $(DotnetRuntimeString)$(PackageNameSuffix) - $(SharedFxDebPkgName.ToLower()) - $(DotnetRuntimeDependenciesPackageString)$(PackageNameSuffix) - $(RuntimeDependenciesDebPkgName.ToLower()) + + $(SharedHostInstallerStart)$(SharedFrameworkNugetVersion)-$(TargetArchitecture)$(InstallerExtension) + $(HostFxrInstallerStart)$(HostResolverVersion)-$(TargetArchitecture)$(InstallerExtension) + $(SharedFrameworkInstallerStart)$(SharedFrameworkNugetVersion)-$(TargetArchitecture)$(InstallerExtension) + $(DotnetRuntimeDependenciesPackageInstallerStart)$(ProductMoniker)$(InstallerExtension) + diff --git a/src/pkg/packaging/deb/package.props b/src/pkg/packaging/deb/package.props index 387608aa15..64a80e31f7 100644 --- a/src/pkg/packaging/deb/package.props +++ b/src/pkg/packaging/deb/package.props @@ -6,8 +6,16 @@ dotnet-deb-tool-consumer.csproj $(IntermediateOutputRootPath)$(toolConsumerProjectName) $(PackagingRoot)deb/ + dotnet-host + $(SharedHostDebPkgName.ToLower()) + $(DotnetHostFxrString)$(PackageNameSuffix) + $(HostFxrDebPkgName.ToLower()) + $(DotnetRuntimeString)$(PackageNameSuffix) + $(SharedFxDebPkgName.ToLower()) + $(DotnetRuntimeDependenciesPackageString)$(PackageNameSuffix) + $(RuntimeDependenciesDebPkgName.ToLower()) - + $(ProductionVersion) $(ProductionVersion)~$(VersionSuffix) diff --git a/src/pkg/packaging/rpm/package.props b/src/pkg/packaging/rpm/package.props index d7a2f1a31e..2efbd9334c 100644 --- a/src/pkg/packaging/rpm/package.props +++ b/src/pkg/packaging/rpm/package.props @@ -5,28 +5,19 @@ $(PackagingRoot)rpm/ dotnet-host $(SharedHostRpmPkgName.ToLower()) - dotnet-hostfxr-$(HostResolverVersion) + dotnet-hostfxr-$(PackageNameSuffix) $(HostFxrRpmPkgName.ToLower()) - dotnet-runtime-$(SharedFrameworkNugetVersion) + dotnet-runtime-$(PackageNameSuffix) $(SharedFxRpmPkgName.ToLower()) - $(DotnetRuntimeDependenciesPackageString)$(ProductVersion) + $(DotnetRuntimeDependenciesPackageString)$(PackageNameSuffix) $(RuntimeDependenciesRpmPkgName.ToLower()) + $(MSBuildThisFileDirectory)/templates $(MSBuildThisFileDirectory)/scripts - - - - $(MajorVersion).$(MinorVersion) - - dotnet-hostfxr-$(PackageNameSuffix) - $(HostFxrRpmPkgName.ToLower()) - dotnet-runtime-$(PackageNameSuffix) - $(SharedFxRpmPkgName.ToLower()) - $(DotnetRuntimeDependenciesPackageString)$(PackageNameSuffix) - $(RuntimeDependenciesRpmPkgName.ToLower()) + $(ProductionVersion)