Added config for makephar

This commit is contained in:
2017-02-12 16:19:07 +01:00
parent ecf08ad267
commit fe5ac914d9
2 changed files with 26 additions and 0 deletions

9
props.php Normal file
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);