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

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