增加git版本号系统
This commit is contained in:
parent
d2830b6d31
commit
4939723556
@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
require_once __DIR__ . '/vendor/autoload.php';
|
||||
echo "Version: 1.0.3\n";
|
||||
$hash=exec('git rev-parse --short HEAD');
|
||||
$git_address=exec('git remote -v | grep fetch');
|
||||
print_r('===========Laysense Webman Start=============');
|
||||
echo "Version: 1.0.4 | Git Hash: $hash | Git Url: $git_address \n";
|
||||
support\App::run();
|
||||
|
Loading…
Reference in New Issue
Block a user