use short sha CI envvar for version.json compatibility
This commit is contained in:
parent
2420feb91f
commit
15c9dbe270
|
@ -327,7 +327,7 @@ class Config {
|
|||
|
||||
$this->version["version"] = sprintf("%s-%s-%s", getenv("BUILD_TIMESTAMP"), getenv("CI_COMMIT_BRANCH"), getenv("CI_COMMIT_SHORT_SHA"));
|
||||
$this->version["timestamp"] = strtotime(getenv("CI_COMMIT_TIMESTAMP"));
|
||||
$this->version["commit"] = getenv("CI_COMMIT_SHA");
|
||||
$this->version["commit"] = getenv("CI_COMMIT_SHORT_SHA");
|
||||
$this->version["status"] = 0;
|
||||
|
||||
} else if (PHP_OS === "Darwin") {
|
||||
|
|
Loading…
Reference in New Issue