From c3f89a91ab6d497fb734be176df82d3568e6d396 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Thu, 1 Oct 2020 09:51:30 -0700 Subject: [PATCH] Generate non-stable version for installer (#26064) * Generate non-stable version for installer * Fix versions * Add upgrade codes for 3.1.0-3.1.8 * Fixup * Fixup * Update src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs Co-authored-by: Massimiliano Donini * Add codes for 3.1.9 Co-authored-by: Massimiliano Donini --- .../Windows/SharedFrameworkBundle/Bundle.wxs | 50 +++++++++++++++++++ .../Windows/WindowsHostingBundle/Bundle.wxs | 24 +++++++++ src/Installers/Windows/Wix.targets | 10 ++-- 3 files changed, 79 insertions(+), 5 deletions(-) diff --git a/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs b/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs index f54d1446b4..044f2a4308 100644 --- a/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs +++ b/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs @@ -24,6 +24,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs b/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs index e33c79d5e8..51eb308498 100644 --- a/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs +++ b/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs @@ -19,6 +19,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Installers/Windows/Wix.targets b/src/Installers/Windows/Wix.targets index eb4adf4c30..8c84c8b3e8 100644 --- a/src/Installers/Windows/Wix.targets +++ b/src/Installers/Windows/Wix.targets @@ -1,12 +1,12 @@ - - $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion).0 <_FileRevisionVersion>$(VersionSuffixDateStamp) <_FileRevisionVersion Condition=" '$(_FileRevisionVersion)' == '' ">42424 - $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion).$(_FileRevisionVersion) + $(AspNetCoreMajorMinorVersion).$(AspNetCorePatchVersion).$(_FileRevisionVersion) + + $(BundleVersion) @@ -26,7 +26,7 @@ - $(Version);$(Platform);$(VersionSuffix);$(_BuildNumberLabels) + $(Version);$(Platform);$(VersionSuffix) @@ -61,7 +61,7 @@ the upgrade code. Bundle upgrades pivot on Major.Minor.Patch changes. For example, 3.0.1-preview 1 can upgrade to 3.0.1-preview 8, but 3.0.1 cannot upgrade to 3.0.2 or 3.1. --> - $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion);$(Platform) + $(AspNetCoreMajorMinorVersion);$(Platform)