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:
parent
4ffebc1dac
commit
3b597936c3
5 changed files with 199 additions and 189 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue