From 786c044798cc6bde3c1408a07ca42260834b13f7 Mon Sep 17 00:00:00 2001 From: Zaxar163 <35835496+Zaxar163@users.noreply.github.com> Date: Mon, 21 Jan 2019 16:11:51 +0300 Subject: [PATCH] =?UTF-8?q?[FIX]=20parentRel=20=D1=82=D0=B5=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D1=8C=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D1=8F=D0=B5?= =?UTF-8?q?=D1=82=D1=81=D1=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LaunchServer/src/main/java/ru/gravit/launchserver/Updater.java | 1 + 1 file changed, 1 insertion(+) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/Updater.java b/LaunchServer/src/main/java/ru/gravit/launchserver/Updater.java index 9a666501..0befa8f1 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/Updater.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/Updater.java @@ -45,6 +45,7 @@ public void run() { if (rel.equals(parenRel)) return; LogHelper.warning("Latest release: %s", rel.getName()); LogHelper.warning("It`s published at: " + DATE_TIME_FORMATTER.format(LocalDateTime.ofInstant(Instant.ofEpochMilli(rel.getPublished_at().getTime()), ZoneId.systemDefault()))); + parenRel = rel; } catch (IOException e) { LogHelper.error(e); }