diff --git a/src/App.hx b/src/App.hx index 38748e2..5935665 100755 --- a/src/App.hx +++ b/src/App.hx @@ -17,7 +17,7 @@ class App extends sugoi.BaseApp { */ //public static var VERSION = ([0,9,2] : Version).withPre("july"); //public static var VERSION = ([0,9,2] : Version).withPre(MyMacros.getGitShortSHA(), MyMacros.getGitCommitDate()); - public static var VERSION = ([0,9,2] : Version).withPre(MyMacros.getGitCommitDate()); + public static var VERSION = "cagette-péi " + MyMacros.getGitCommitDate(); public function new(){ super(); diff --git a/src/MyMacros.hx b/src/MyMacros.hx index 3432729..f3a0897 100644 --- a/src/MyMacros.hx +++ b/src/MyMacros.hx @@ -20,7 +20,8 @@ class MyMacros { commitDate = StringTools.replace(commitDate, " ", "."); commitDate = StringTools.replace(commitDate, "-", "."); commitDate = StringTools.replace(commitDate, ":", "."); - commitDate = commitDate.substr(0,16); + //commitDate = commitDate.substr(0,16); + commitDate = commitDate.substr(0,10); // Generates a string expression return macro $v{commitDate};