Use full hash in version information of dev phars, fixes #1502
parent
97dfbefa72
commit
2b36f61596
|
@ -35,7 +35,7 @@ class Compiler
|
|||
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) {
|
||||
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.');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue