fix: include git tag in version (#3000)

Also include os and php version in github issue template.
This commit is contained in:
Dag 2022-09-04 07:21:57 +02:00 committed by GitHub
parent 693d6edfbf
commit 5e09a14acc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View file

@ -194,7 +194,7 @@ final class Configuration
if (isset($parts[3])) {
$branchName = $parts[3];
if (file_exists($revisionHashFile)) {
return 'git.' . $branchName . '.' . substr(file_get_contents($revisionHashFile), 0, 7);
return sprintf('%s (git.%s.%s)', self::VERSION, $branchName, substr(file_get_contents($revisionHashFile), 0, 7));
}
}
}