2015-12-28 19:47:21 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
|
|
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
#
|
|
|
|
|
2016-01-12 23:27:02 +00:00
|
|
|
$env:ReleaseSuffix = "dev"
|
|
|
|
$env:MajorVersion = 1
|
|
|
|
$env:MinorVersion = 0
|
|
|
|
$env:PatchVersion = 0
|
2015-12-28 19:47:21 +00:00
|
|
|
|
2016-01-12 23:27:02 +00:00
|
|
|
$env:CommitCountVersion = (git rev-list --count HEAD).PadLeft(6, "0")
|
2015-12-28 19:47:21 +00:00
|
|
|
|
2016-01-07 00:46:25 +00:00
|
|
|
# Zero Padded Suffix for use with Nuget
|
2016-01-12 23:27:02 +00:00
|
|
|
$env:VersionSuffix = "$env:ReleaseSuffix-$env:CommitCountVersion"
|
2015-12-28 19:47:21 +00:00
|
|
|
|
2016-01-12 23:27:02 +00:00
|
|
|
$env:DOTNET_CLI_VERSION = "$env:MajorVersion.$env:MinorVersion.$env:PatchVersion.$env:CommitCountVersion"
|