cagette-péi
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
+2
-1
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user