refactor(workflows): replace jq with PHP script for version retrieval in workflows
This commit is contained in:
10
bootstrap/getRealtimeVersion.php
Normal file
10
bootstrap/getRealtimeVersion.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
// To prevent github actions from failing
|
||||
function env()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
$version = include 'config/constants.php';
|
||||
echo $version['coolify']['realtime_version'] ?: 'unknown';
|
Reference in New Issue
Block a user