Fix the links to be lowercase in the correct place but uppercase within the tablegenerator so it doesn't conflict with main.

This commit is contained in:
Marc Paine 2021-03-25 16:06:50 -07:00
parent 4ffebc1dac
commit 3b597936c3
5 changed files with 199 additions and 189 deletions

View file

@ -6,8 +6,8 @@ open TableGenerator.Reference
open TableGenerator.Table
let inputBranches =
[ { GitBranchName = "Main"
DisplayName = "Main<br>(6.0.x&nbsp;Runtime)"
[ { GitBranchName = "main"
DisplayName = "main<br>(6.0.x&nbsp;Runtime)"
AkaMsChannel = Some("6.0/daily") }
{ GitBranchName = "release/6.0.1xx-preview2"
DisplayName = "Release/6.0.1XX-preview2<br>(6.0.x&nbsp;Runtime)"
@ -32,12 +32,12 @@ let inputBranches =
let referentNotes = """Reference notes:
> **1**: Our Debian packages are put together slightly differently than the other OS specific installers. Instead of combining everything, we have separate component packages that depend on each other. If you're installing the SDK from the .deb file (via dpkg or similar), then you'll need to install the corresponding dependencies first:
> * [Host, Host FX Resolver, and Shared Framework](https://github.com/dotnet/runtime#daily-builds)
> * [ASP.NET Core Shared Framework](https://github.com/aspnet/AspNetCore/blob/Main/docs/DailyBuilds.md)
> * [ASP.NET Core Shared Framework](https://github.com/aspnet/AspNetCore/blob/main/docs/DailyBuilds.md)
.NET Core SDK 2.x downloads can be found here: [.NET Core SDK 2.x Installers and Binaries](Downloads2.x.md)"""
let sdksha2 =
"[sdk-shas-2.2.1XX]: https://github.com/dotnet/versions/tree/Main/build-info/dotnet/product/cli/release/2.2#built-repositories"
"[sdk-shas-2.2.1XX]: https://github.com/dotnet/versions/tree/main/build-info/dotnet/product/cli/release/2.2#built-repositories"
let wholeTable branches =
String.Join

View file

@ -22,13 +22,13 @@ type BranchMajorMinorVersion =
Patch: int
Release: string}
type BranchMajorMinorVersionOrMain =
type BranchMajorMinorVersionOrmain =
| Main
| MajorMinor of BranchMajorMinorVersion
| NoVersion
let getMajorMinor (branch: Branch): BranchMajorMinorVersionOrMain =
match branch.GitBranchName = "Main" with
let getMajorMinor (branch: Branch): BranchMajorMinorVersionOrmain =
match branch.GitBranchName = "main" with
| true -> Main
| _ ->
match branch.GitBranchName.IndexOf('/') with