fix: ignore if dynamic config could not be set

This commit is contained in:
Andras Bacsai 2023-12-12 13:20:26 +01:00
parent 29e750f0b2
commit dfc353ce54
4 changed files with 9 additions and 4 deletions

View File

@ -35,7 +35,12 @@ public function handle()
}
$this->cleanup_in_progress_application_deployments();
$this->cleanup_stucked_helper_containers();
setup_dynamic_configuration();
try {
setup_dynamic_configuration();
} catch (\Throwable $e) {
echo "Could not setup dynamic configuration: {$e->getMessage()}\n";
}
$settings = InstanceSettings::get();
if (!is_null(env('AUTOUPDATE', null))) {

View File

@ -7,7 +7,7 @@
// 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' => '4.0.0-beta.158',
'release' => '4.0.0-beta.159',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php
return '4.0.0-beta.158';
return '4.0.0-beta.159';

View File

@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
"version": "4.0.0-beta.158"
"version": "4.0.0-beta.159"
}
}
}