This commit is contained in:
Andras Bacsai
2023-06-13 08:47:14 +02:00
parent 0f7512a394
commit a4177ca0ec
5 changed files with 10 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ return [
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => trim(exec('jq -r .coolify.v4.version versions.json')) ?? 'unknown',
'release' => trim(exec('jq -r .coolify.v4.version versions.json 2>/dev/null')) ?? 'unknown',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),