1
0
Fork 0

Use full hash in version information of dev phars, fixes #1502

pull/1579/merge
Jordi Boggiano 2013-02-13 14:32:50 +01:00
parent 97dfbefa72
commit 2b36f61596
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class Compiler
unlink($pharFile); unlink($pharFile);
} }
$process = new Process('git log --pretty="%h" -n1 HEAD', __DIR__); $process = new Process('git log --pretty="%H" -n1 HEAD', __DIR__);
if ($process->run() != 0) { if ($process->run() != 0) {
throw new \RuntimeException('Can\'t run git log. You must ensure to run compile from composer git repository clone and that git binary is available.'); throw new \RuntimeException('Can\'t run git log. You must ensure to run compile from composer git repository clone and that git binary is available.');
} }