Merge pull request #2227 from tidusjar/master

Fixed #2224
pull/2226/head
Jamie 7 years ago committed by GitHub
commit 4ce0d2bb65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -98,7 +98,7 @@ namespace Ombi.Schedule.Processor
{
var newUpdate = new UpdateModel
{
UpdateVersionString = release.Version,
UpdateVersionString = release.Version.Substring(1,8),
UpdateVersion = release.Version == "(unreleased)" ? 0 : int.Parse(release.Version.Substring(1, 5).Replace(".", "")),
UpdateDate = DateTime.Now,
ChangeLogs = new List<ChangeLog>(),

Loading…
Cancel
Save