mirror of
https://github.com/coollabsio/coolify.git
synced 2025-12-28 05:34:50 +00:00
Refactor getVersion.php to prevent GitHub Actions failure
This commit is contained in:
parent
18d5dd3090
commit
c70554e2d2
@ -1,4 +1,10 @@
|
||||
<?php
|
||||
|
||||
// To prevent github actions from failing
|
||||
function env()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
$version = include 'config/constants.php';
|
||||
echo $version['coolify']['version'] ?: 'unknown';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user