mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-28 20:30:25 +02:00
fix: include git tag in version (#3000)
Also include os and php version in github issue template.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user