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.

Update server model and version configurations

Andras Bacsai087bfcad089e
diff --git a/app/Models/Server.php b/app/Models/Server.php
index eca98889e6..6890c0fe75 100644
--- a/app/Models/Server.php
+++ b/app/Models/Server.php
@@ -111,9 +111,9 @@ class Server extends BaseModel
public function hasDefinedResources()
{
- $applications = $this->applications()->count() === 0;
- $databases = $this->databases()->count() === 0;
- $services = $this->services()->count() === 0;
+ $applications = $this->applications()->count() > 0;
+ $databases = $this->databases()->count() > 0;
+ $services = $this->services()->count() > 0;
if ($applications || $databases || $services) {
return true;
}
diff --git a/config/sentry.php b/config/sentry.php
index 01c00e5575..f8abffc9f2 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.132',
+ 'release' => '4.0.0-beta.133',
// 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 57d619e4d3..dca9988d62 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.132';
+return '4.0.0-beta.133';
diff --git a/versions.json b/versions.json
index a40a9c2f15..d5ca93e158 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.132"
+ "version": "4.0.0-beta.133"
}
}
}