Updated installer files from master to main. Added a nuget.config so that the table generator will build.

This commit is contained in:
Marc Paine 2021-03-18 17:28:39 -07:00
parent 823c1dfceb
commit 4ffebc1dac
8 changed files with 207 additions and 207 deletions

View file

@ -22,14 +22,14 @@ type BranchMajorMinorVersion =
Patch: int
Release: string}
type BranchMajorMinorVersionOrMaster =
| Master
type BranchMajorMinorVersionOrMain =
| Main
| MajorMinor of BranchMajorMinorVersion
| NoVersion
let getMajorMinor (branch: Branch): BranchMajorMinorVersionOrMaster =
match branch.GitBranchName = "master" with
| true -> Master
let getMajorMinor (branch: Branch): BranchMajorMinorVersionOrMain =
match branch.GitBranchName = "Main" with
| true -> Main
| _ ->
match branch.GitBranchName.IndexOf('/') with
| index when index < 0 -> NoVersion