Commit 3b313ff4 authored by Fabien Potencier's avatar Fabien Potencier

added the date to the Silex version

parent 92cc4bba
...@@ -77,7 +77,7 @@ class Compiler ...@@ -77,7 +77,7 @@ class Compiler
$content = Kernel::stripComments($content); $content = Kernel::stripComments($content);
} }
$process = new Process('git rev-parse --short HEAD'); $process = new Process('git log --pretty="%h %ci" -n1 HEAD');
if ($process->run() > 0) { if ($process->run() > 0) {
throw new \RuntimeException('The git binary cannot be found.'); throw new \RuntimeException('The git binary cannot be found.');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment