mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
Fix all _release lab builds qualifying for "Current Release" on front page
This commit is contained in:
parent
1dbdc8486b
commit
ae89554ed1
|
@ -262,7 +262,8 @@ public async Task<Dictionary<ProjectFamily, FrontPage>> SelectFrontPage()
|
||||||
.OrderByDescending(b => b.BuildTime)
|
.OrderByDescending(b => b.BuildTime)
|
||||||
.FirstOrDefault(),
|
.FirstOrDefault(),
|
||||||
CurrentRelease = results
|
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("_release")
|
||||||
&& !g.Key.LabUrl.Contains("xbox")
|
&& !g.Key.LabUrl.Contains("xbox")
|
||||||
&& (g.Key.SourceType == TypeOfSource.PublicRelease
|
&& (g.Key.SourceType == TypeOfSource.PublicRelease
|
||||||
|
|
Loading…
Reference in New Issue
Block a user