Update README.md and table generator for linux-musl-arm
This commit is contained in:
parent
3f100132de
commit
72b2e440ab
5 changed files with 20 additions and 6 deletions
|
@ -155,14 +155,14 @@ let linuxMuslArmReferenceTemplate branch =
|
|||
let format branch = formatTemplate "linux-musl-arm" linuxMuslReferenceTemplate branch
|
||||
match getMajorMinor branch with
|
||||
| Master -> format branch
|
||||
| MajorMinor { Major = major; Minor = _minor } when major >= 6 -> format branch
|
||||
| MajorMinor { Major = major; Minor = _minor; Patch = patch } when major >= 6 || (major >= 5 && patch >= 299) -> format branch
|
||||
| _ -> None
|
||||
|
||||
let linuxMuslArm64ReferenceTemplate branch =
|
||||
let format branch = formatTemplate "linux-musl-arm64" linuxMuslReferenceTemplate branch
|
||||
match getMajorMinor branch with
|
||||
| Master -> format branch
|
||||
| MajorMinor { Major = major; Minor = _minor } when major >= 6 -> format branch
|
||||
| MajorMinor { Major = major; Minor = _minor; Patch = patch } when major >= 6 || (major >= 5 && patch >= 299) -> format branch
|
||||
| _ -> None
|
||||
|
||||
let winArmMuslReferenceTemplate branch =
|
||||
|
|
|
@ -18,6 +18,7 @@ let branchNameShorten (branch: Branch): string =
|
|||
type BranchMajorMinorVersion =
|
||||
{ Major: int
|
||||
Minor: int
|
||||
Patch: int
|
||||
Release: string}
|
||||
|
||||
type BranchMajorMinorVersionOrMaster =
|
||||
|
@ -38,5 +39,6 @@ let getMajorMinor (branch: Branch): BranchMajorMinorVersionOrMaster =
|
|||
MajorMinor
|
||||
{ Major = version.Major
|
||||
Minor = version.Minor
|
||||
Patch = version.Patch
|
||||
Release = version.Release}
|
||||
| _ -> NoVersion
|
||||
|
|
|
@ -79,7 +79,7 @@ let linuxMuslRowArm branches =
|
|||
let tableTemplateForThisArch branch =
|
||||
match getMajorMinor branch with
|
||||
| Master -> format branch
|
||||
| MajorMinor { Major = major; Minor = _minor } when major >= 6 -> format branch
|
||||
| MajorMinor { Major = major; Minor = _minor; Patch = patch } when major >= 6 || (major >= 5 && patch >= 299) -> format branch
|
||||
| _ -> notAvailable
|
||||
formRow "**Linux-musl-arm**" tableTemplateForThisArch branches
|
||||
|
||||
|
@ -88,7 +88,7 @@ let linuxMuslRowArm64 branches =
|
|||
let tableTemplateForThisArch branch =
|
||||
match getMajorMinor branch with
|
||||
| Master -> format branch
|
||||
| MajorMinor { Major = major; Minor = _minor } when major >= 6 -> format branch
|
||||
| MajorMinor { Major = major; Minor = _minor; Patch = patch } when major >= 6 || (major >= 5 && patch >= 299) -> format branch
|
||||
| _ -> notAvailable
|
||||
formRow "**Linux-musl-arm64**" tableTemplateForThisArch branches
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue