We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20cf543 commit b19190dCopy full SHA for b19190d
build/scripts/phar-set-timestamps/run.php
@@ -16,10 +16,10 @@
16
$epoch
17
);
18
} else {
19
- $tag = shell_exec('git describe --abbrev=0');
+ $tag = @shell_exec('git describe --abbrev=0 2>&1');
20
21
if (is_string($tag) && strpos($tag, 'fatal') === false) {
22
- $tmp = shell_exec('git log -1 --format=%at ' . trim($tag));
+ $tmp = @shell_exec('git log -1 --format=%at ' . trim($tag) . ' 2>&1');
23
24
if (is_string($tag) && is_numeric(trim($tmp))) {
25
$epoch = (int) trim($tmp);
0 commit comments