Skip to content

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.

fix: remove coolify labels from ui

Andras Bacsai0b88cd69f2a8
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php
index abd93f6844..3d8afbe934 100644
--- a/app/Jobs/ApplicationDeploymentJob.php
+++ b/app/Jobs/ApplicationDeploymentJob.php
@@ -686,7 +686,12 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
$environment_variables = $this->generate_environment_variables($ports);
if (data_get($this->application, 'custom_labels')) {
- $labels = collect(str($this->application->custom_labels)->explode(',')->toArray());
+ $labels = collect(str($this->application->custom_labels)->explode(','));
+ $labels = $labels->filter(function ($value, $key) {
+ return !Str::startsWith($value, 'coolify.');
+ });
+ $this->application->custom_labels = $labels->implode(',');
+ $this->application->save();
} else {
$labels = collect(generateLabelsApplication($this->application, $this->preview));
}
diff --git a/config/sentry.php b/config/sentry.php
index 4b4820837b..3eb97526a0 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.106',
+ 'release' => '4.0.0-beta.107',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),
diff --git a/config/version.php b/config/version.php
index 95806e4085..80ea7d515e 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.106';
+return '4.0.0-beta.107';
diff --git a/versions.json b/versions.json
index e658db6af0..67bdb50610 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.106"
+ "version": "4.0.0-beta.107"
}
}
}