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
Update pull_request_id comparison in ApplicationDeploymentJob.php and update version numbers
Andras Bacsai60be51dbe000
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex becf6387a9..8ecaacc981 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -727,7 +727,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted$this->write_deployment_configurations();$this->server = $this->original_server;}- if (count($this->application->ports_mappings_array) > 0 || (bool) $this->application->settings->is_consistent_container_name_enabled || $this->application->pull_request_id !== 0) {+ if (count($this->application->ports_mappings_array) > 0 || (bool) $this->application->settings->is_consistent_container_name_enabled || $this->pull_request_id !== 0) {$this->application_deployment_queue->addLogEntry("----------------------------------------");if (count($this->application->ports_mappings_array) > 0) {$this->application_deployment_queue->addLogEntry("Application has ports mapped to the host system, rolling update is not supported.");@@ -735,7 +735,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncryptedif ((bool) $this->application->settings->is_consistent_container_name_enabled) {$this->application_deployment_queue->addLogEntry("Consistent container name feature enabled, rolling update is not supported.");}- if ($this->application->pull_request_id !== 0) {+ if ($this->pull_request_id !== 0) {$this->application->settings->is_consistent_container_name_enabled = true;$this->application_deployment_queue->addLogEntry("Pull request deployment, rolling update is not supported.");}@@ -1215,7 +1215,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted// ];// }- if ($this->application->pull_request_id === 0) {+ if ($this->pull_request_id === 0) {if ((bool)$this->application->settings->is_consistent_container_name_enabled) {$custom_compose = convert_docker_run_to_compose($this->application->custom_docker_run_options);if (count($custom_compose) > 0) {diff --git a/config/sentry.php b/config/sentry.phpindex 503c729b47..1b96a2a02b 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.230',+ 'release' => '4.0.0-beta.231',// 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 52b6fa5877..53d87bbd52 100644--- a/config/version.php+++ b/config/version.php@@ -1,3 +1,3 @@<?php-return '4.0.0-beta.230';+return '4.0.0-beta.231';diff --git a/versions.json b/versions.jsonindex b42f4128c9..ad884473ae 100644--- a/versions.json+++ b/versions.json@@ -4,7 +4,7 @@"version": "3.12.36"},"v4": {- "version": "4.0.0-beta.230"+ "version": "4.0.0-beta.231"}}}