Add support for RS6 / 19H1

master
BuildFeed Bot 2018-07-19 19:59:32 +01:00
parent b5a28b3caf
commit 672138f8aa
No known key found for this signature in database
GPG Key ID: 3757685ADD91E0A1
2 changed files with 13 additions and 1 deletions

View File

@ -155,6 +155,11 @@ namespace BuildFeed.Model
private void GenerateFamily()
{
// start with lab-based overrides
if (Lab?.StartsWith("rs5", StringComparison.InvariantCultureIgnoreCase) ?? false)
{
Family = ProjectFamily.Redstone5;
}
else
if (Lab?.StartsWith("rs4", StringComparison.InvariantCultureIgnoreCase) ?? false)
{
Family = ProjectFamily.Redstone4;
@ -181,6 +186,10 @@ namespace BuildFeed.Model
}
// move on to version number guesses
else if (Number >= 18200)
{
Family = ProjectFamily.Redstone6;
}
else if (Number >= 17600)
{
Family = ProjectFamily.Redstone5;

View File

@ -55,6 +55,9 @@ namespace BuildFeed.Model
Redstone4 = 60,
[Display(Name = "Redstone 5")]
Redstone5 = 70
Redstone5 = 70,
[Display(Name = "Redstone 6 / 19H1")]
Redstone6 = 80
}
}