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 "$@"