An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: only show redeployment required if status is not exited
Andras Bacsai83becdb19d46
diff --git a/app/Models/Application.php b/app/Models/Application.phpindex df1fb80386..a12be33fde 100644--- a/app/Models/Application.php+++ b/app/Models/Application.php@@ -212,6 +212,9 @@ class Application extends BaseModel);}+ public function isExited() {+ return (bool) str($this->status)->startsWith('exited');+ }public function realStatus(){return $this->getRawOriginal('status');diff --git a/config/sentry.php b/config/sentry.phpindex 80b7ffe7fa..bc708e23ed 100644--- a/config/sentry.php+++ b/config/sentry.php@@ -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' => '4.0.0-beta.219',+ 'release' => '4.0.0-beta.220',// When left empty or `null` the Laravel environment will be used'environment' => config('app.env'),diff --git a/config/version.php b/config/version.phpindex 81f48a3c5f..97edca7293 100644--- a/config/version.php+++ b/config/version.php@@ -1,3 +1,3 @@<?php-return '4.0.0-beta.219';+return '4.0.0-beta.220';diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.phpindex f33a3c1a09..fb8ff2c23a 100644--- a/resources/views/livewire/project/application/general.blade.php+++ b/resources/views/livewire/project/application/general.blade.php@@ -5,7 +5,7 @@<x-forms.button type="submit">Save</x-forms.button>- @if ($isConfigurationChanged && !is_null($application->config_hash))+ @if ($isConfigurationChanged && !is_null($application->config_hash) && !$application->isExited())<div title="Configuration not applied to the running application. You need to redeploy."><svg class="w-6 h-6 text-warning" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M240.26 186.1L152.81 34.23a28.74 28.74 0 0 0-49.62 0L15.74 186.1a27.45 27.45 0 0 0 0 27.71A28.31 28.31 0 0 0 40.55 228h174.9a28.31 28.31 0 0 0 24.79-14.19a27.45 27.45 0 0 0 .02-27.71m-20.8 15.7a4.46 4.46 0 0 1-4 2.2H40.55a4.46 4.46 0 0 1-4-2.2a3.56 3.56 0 0 1 0-3.73L124 46.2a4.77 4.77 0 0 1 8 0l87.44 151.87a3.56 3.56 0 0 1 .02 3.73M116 136v-32a12 12 0 0 1 24 0v32a12 12 0 0 1-24 0m28 40a16 16 0 1 1-16-16a16 16 0 0 1 16 16"/>diff --git a/versions.json b/versions.jsonindex da42b0e859..86af46b946 100644--- a/versions.json+++ b/versions.json@@ -4,7 +4,7 @@"version": "3.12.36"},"v4": {- "version": "4.0.0-beta.219"+ "version": "4.0.0-beta.220"}}}