This commit is contained in:
2017-02-01 03:59:36 +01:00
parent 2dce9e4e8b
commit 989a8b831e
6 changed files with 31 additions and 5 deletions

4
build/app.prop Normal file
View File

@ -0,0 +1,4 @@
# comment
APP_VERSION=0.2.x
APP_NAME=hotfix

10
build/gitprops.php Normal file
View File

@ -0,0 +1,10 @@
<?php
$git = trim(exec("git describe --tags"));
$git = explode("-",$git);
if (count($git)>1) {
$git = array_slice($git,0,2);
}
$git = join(".",$git);
echo "APP_VERSION={$git}\n";