Added config for makephar

This commit is contained in:
noccy committed 2017-02-12 16:19:07 +01:00
1 parent ecf08ad267
commit fe5ac914d9
2 files changed
+26

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
<?php
$gitver = exec("git describe --tag");
if (strpos($gitver,"-")!==false) {
$gitver = explode("-",$gitver);
$gitver = join(".",array_slice($gitver,0,2));
}
printf("APP_VERSION=%s\n", $gitver);