automatically parse version of coolify for building prod image

This commit is contained in:
Andras Bacsai
2023-04-28 10:04:16 +02:00
parent a7c4e06bc3
commit bc6feed17f
3 changed files with 20 additions and 16 deletions

3
bootstrap/getVersion.php Normal file
View File

@@ -0,0 +1,3 @@
<?php
$version = include 'config/coolify.php';
echo $version['version'];