mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Partially fix version detection errors
This commit is contained in:
parent
e701fbc50f
commit
7319b0c27f
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ return (function() {
|
||||||
|
|
||||||
$showCommitHash = true; # plz remove when release
|
$showCommitHash = true; # plz remove when release
|
||||||
if(is_dir($gitDir = OPENVK_ROOT . "/.git") && $showCommitHash)
|
if(is_dir($gitDir = OPENVK_ROOT . "/.git") && $showCommitHash)
|
||||||
$ver = trim(`git --git-dir="$gitDir" log --pretty="%h" -n1 HEAD`) . "-nightly";
|
$ver = trim(`git --git-dir="$gitDir" log --pretty="%h" -n1 HEAD` ?? "Unknown version") . "-nightly";
|
||||||
else
|
else
|
||||||
$ver = "Build 15";
|
$ver = "Build 15";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue