Fix all _release lab builds qualifying for "Current Release" on front page

This commit is contained in:
BuildFeed Bot 2018-02-15 08:06:07 +00:00
parent 1dbdc8486b
commit ae89554ed1

View File

@ -262,7 +262,8 @@ public async Task<Dictionary<ProjectFamily, FrontPage>> SelectFrontPage()
.OrderByDescending(b => b.BuildTime)
.FirstOrDefault(),
CurrentRelease = results
.Where(g => g.Key.Family == family
.Where(g => (int)g.Key.Family <= CURRENT_RELEASE
&& g.Key.Family == family
&& g.Key.LabUrl.Contains("_release")
&& !g.Key.LabUrl.Contains("xbox")
&& (g.Key.SourceType == TypeOfSource.PublicRelease