From c849e8ba4ced2141416cd92073cae178ca42bdd9 Mon Sep 17 00:00:00 2001 From: Parallels Date: Thu, 26 Jan 2017 20:44:31 -0800 Subject: [PATCH] Updating the template engine version to a version that depends on 1.6.0 and updating our build scripts to allow for a commit count override. --- build/Microsoft.DotNet.Cli.DependencyVersions.props | 2 +- build/Microsoft.DotNet.Cli.Prepare.targets | 11 +++++++---- scripts/dockerrun.sh | 1 + 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/build/Microsoft.DotNet.Cli.DependencyVersions.props b/build/Microsoft.DotNet.Cli.DependencyVersions.props index a064745ff..fec7fca24 100644 --- a/build/Microsoft.DotNet.Cli.DependencyVersions.props +++ b/build/Microsoft.DotNet.Cli.DependencyVersions.props @@ -6,6 +6,6 @@ 1.0.0-alpha-20170123-1 1.0.0-alpha-20170114-1-223 15.0.0-preview-20170106-08 - 1.0.0-beta1-20170123-94 + 1.0.0-beta1-20170126-99 diff --git a/build/Microsoft.DotNet.Cli.Prepare.targets b/build/Microsoft.DotNet.Cli.Prepare.targets index 2b0282626..e1e4d6845 100644 --- a/build/Microsoft.DotNet.Cli.Prepare.targets +++ b/build/Microsoft.DotNet.Cli.Prepare.targets @@ -53,11 +53,8 @@ - + - - - @@ -69,6 +66,12 @@ + $(DefaultCommitCount) + + $(VersionMajor).$(VersionMinor).$(VersionPatch).$(CommitCount) + $(ReleaseSuffix)-$(CommitCount) + $(VersionMajor).$(VersionMinor).$(VersionPatch)-$(VersionSuffix) + $(BaseOutputDirectory)/$(VersionBadgeMoniker)_$(Configuration)_version_badge.svg $(NugetVersion) diff --git a/scripts/dockerrun.sh b/scripts/dockerrun.sh index 3b6b4133a..b478a2a10 100755 --- a/scripts/dockerrun.sh +++ b/scripts/dockerrun.sh @@ -133,5 +133,6 @@ docker run $INTERACTIVE -t --rm --sig-proxy=true \ -e CHECKSUM_STORAGE_ACCOUNT \ -e CHECKSUM_STORAGE_CONTAINER \ -e CLIBUILD_SKIP_TESTS \ + -e CommitCount \ $DOTNET_BUILD_CONTAINER_TAG \ $BUILD_COMMAND "$@"