refactor(workflows): replace jq with PHP script for version retrieval in workflows

This commit is contained in:
Andras Bacsai
2025-01-22 14:05:29 +01:00
parent 8c7daed061
commit c9869e13e0
6 changed files with 21 additions and 10 deletions

View 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';