This commit is contained in:
Jamie 2018-04-02 20:56:36 +01:00
commit f5e0d278ab

View file

@ -46,8 +46,7 @@ namespace Ombi.Schedule.Processor
if (masterBranch)
{
latestRelease = doc.DocumentNode.Descendants("h2")
.FirstOrDefault(x => x.InnerText == "(unreleased)");
// TODO: Change this to InnterText != "(unreleased)" once we go live and it's not a prerelease
.FirstOrDefault(x => x.InnerText != "(unreleased)");
}
else
{