From b68c1eae52402654fa8cd407f9c3dc31aacfeb55 Mon Sep 17 00:00:00 2001 From: BuildFeed Bot <35148566+buildfeedbot@users.noreply.github.com> Date: Tue, 9 Jan 2018 19:40:56 +0000 Subject: [PATCH] Fix #94 - Add support for RS4-specific labs --- BuildFeed.Model/Build.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BuildFeed.Model/Build.cs b/BuildFeed.Model/Build.cs index 1fb0ce5..9e62b1a 100644 --- a/BuildFeed.Model/Build.cs +++ b/BuildFeed.Model/Build.cs @@ -136,7 +136,11 @@ private void GenerateLabUrl() private void GenerateFamily() { // start with lab-based overrides - if (Lab?.StartsWith("rs3", StringComparison.InvariantCultureIgnoreCase) ?? false) + if (Lab?.StartsWith("rs4", StringComparison.InvariantCultureIgnoreCase) ?? false) + { + Family = ProjectFamily.Redstone4; + } + else if (Lab?.StartsWith("rs3", StringComparison.InvariantCultureIgnoreCase) ?? false) { Family = ProjectFamily.Redstone3; }