Update channel name to release/2.0

This commit is contained in:
Nate McMaster 2018-01-18 08:19:37 -08:00
Родитель 768d13aef9
Коммит 02bda79ac9
5 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -16,9 +16,9 @@ This project is part of ASP.NET Core. You can find samples, documentation and ge
Channel | Latest Build
-----------------|----------------
dev | ![badge][dev-badge]
release/2.0.0 | ![badge][rel-2.0.0-badge]
release/2.0 | ![badge][rel-2.0-badge]
[dev-badge]: https://aspnetcore.blob.core.windows.net/buildtools/korebuild/channels/dev/badge.svg
[rel-2.0.0-badge]: https://aspnetcore.blob.core.windows.net/buildtools/korebuild/channels/release/2.0.0/badge.svg
[rel-2.0-badge]: https://aspnetcore.blob.core.windows.net/buildtools/korebuild/channels/release/2.0/badge.svg
This tool contains build scripts, console tools, MSBuild targets, and other settings required to build ASP.NET Core.

Просмотреть файл

@ -16,7 +16,7 @@ if (!$NoBuild) {
}
$toolsSource = "$PSScriptRoot/artifacts/"
$latestFile = Join-Path $toolsSource "korebuild/channels/release/2.0.0/latest.txt"
$latestFile = Join-Path $toolsSource "korebuild/channels/release/2.0/latest.txt"
$toolsVersion = $null
foreach ($line in Get-Content $latestFile) {
$toolsVersion = $line.Split(":")[1]

Просмотреть файл

@ -1,4 +1,4 @@
{
"$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/release/2.0.0/tools/korebuild.schema.json",
"channel": "release/2.0.0"
"$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/release/2.0/tools/korebuild.schema.json",
"channel": "release/2.0"
}

Просмотреть файл

@ -12,7 +12,7 @@
"description": "The channel of KoreBuild used to select a version when korebuild-lock.txt is not present.",
"type": "string",
"default": "dev",
"enum": ["dev", "rel/2.0.0"]
"enum": ["dev", "release/2.0"]
}
}
}

Просмотреть файл

@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<KoreBuildChannel>release/2.0.0</KoreBuildChannel>
<KoreBuildChannel>release/2.0</KoreBuildChannel>
<VersionPrefix>2.0.5</VersionPrefix>
<VersionSuffix>rtm</VersionSuffix>
<VersionSuffix Condition="'$(VersionSuffix)' != '' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>