From: Niki Roo Date: Mon, 27 Feb 2017 07:14:07 +0000 (+0100) Subject: Woopsie, update VERSION because of this :( X-Git-Tag: nikiroo-utils-1.3.4~3 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=3341f01831f6e4fee059fa025e16777f0198bbaa;p=nikiroo-utils.git Woopsie, update VERSION because of this :( --- diff --git a/VERSION b/VERSION index 3a3cd8c..1892b92 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3.1 +1.3.2 diff --git a/changelog b/changelog index 02cb917..b5e1d80 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,4 @@ -Version 1.3.1 +Version 1.3.2 ------------- New Version class diff --git a/src/be/nikiroo/utils/Version.java b/src/be/nikiroo/utils/Version.java index 550c5e9..a8ec3f5 100644 --- a/src/be/nikiroo/utils/Version.java +++ b/src/be/nikiroo/utils/Version.java @@ -112,7 +112,7 @@ public class Version { * @return the {@link Version} of the program, or an empty {@link Version} * (does not return NULL) */ - public static String getCurrentVersion() { + public static Version getCurrentVersion() { String version = null; InputStream in = IOUtils.openResource("VERSION"); @@ -127,7 +127,7 @@ public class Version { } } - return version; + return new Version(version); } /**