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
always show upgrade on next channel
Andras Bacsaibc89483d471e
diff --git a/app/Http/Livewire/Upgrade.php b/app/Http/Livewire/Upgrade.phpindex 8d3930bc49..f3bd8b1d3f 100644--- a/app/Http/Livewire/Upgrade.php+++ b/app/Http/Livewire/Upgrade.php@@ -3,6 +3,7 @@namespace App\Http\Livewire;use App\Actions\Server\UpdateCoolify;+use App\Models\InstanceSettings;use Masmerise\Toaster\Toaster;use Livewire\Component;@@ -20,6 +21,10 @@ class Upgrade extends Componentif (isDev()) {$this->isUpgradeAvailable = true;}+ $settings = InstanceSettings::get();+ if ($settings->next_channel) {+ $this->isUpgradeAvailable = true;+ }}public function upgrade(){diff --git a/scripts/install.sh b/scripts/install.shindex 629a89cfa1..72d788ee1b 100644--- a/scripts/install.sh+++ b/scripts/install.sh@@ -23,6 +23,11 @@ if [ $OS_TYPE != "ubuntu" ] && [ $OS_TYPE != "debian" ]; thenexitfi+# Ovewrite LATEST_VERSION if user pass a version number+if [ "$1" != "" ]; then+ LATEST_VERSION=$1+fi+echo -e "-------------"echo -e "Welcome to Coolify v4 beta installer!"echo -e "This script will install everything for you."