pull/2142/head
Jamie 7 years ago
parent 543e7fc369
commit f5e0d278ab

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

Loading…
Cancel
Save