From 701d3b0465328d1845e56484a7c35824bb78fb5c Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Tue, 27 Feb 2018 16:38:25 -0800 Subject: [PATCH] Add support for building final preview packages This enables us to build packages with a preview label but not include the build number. Commit migrated from https://github.com/dotnet/core-setup/commit/ff406ef6a9ab3a903bd3414ab6cb6910faffd030 --- src/installer/BranchInfo.props | 5 +++++ src/installer/pkg/projects/dir.targets | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/installer/BranchInfo.props b/src/installer/BranchInfo.props index ebf9842..74b8820 100644 --- a/src/installer/BranchInfo.props +++ b/src/installer/BranchInfo.props @@ -3,9 +3,14 @@ 2 1 0 + false + $(PackageVersionStamp) preview2 + true + true + $(PreReleaseLabel) Preview 2 master diff --git a/src/installer/pkg/projects/dir.targets b/src/installer/pkg/projects/dir.targets index 9d584b0..a34982c 100644 --- a/src/installer/pkg/projects/dir.targets +++ b/src/installer/pkg/projects/dir.targets @@ -11,7 +11,7 @@ If we are stabilizing set the StableVersion property for the packages. Needs to happen in dir.targets to allow all the pkgproj's to set Version property first. --> - $(Version) + $(Version)