Refactor getVersion.php to prevent GitHub Actions failure
This commit is contained in:
@@ -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';
|
||||
|
Reference in New Issue
Block a user