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: turn off static deployment if you switch buildpacks

Andras Bacsai1c97d47ea0aa
diff --git a/app/Http/Livewire/Project/Application/General.php b/app/Http/Livewire/Project/Application/General.php
index acc377094a..dc3bd8db64 100644
--- a/app/Http/Livewire/Project/Application/General.php
+++ b/app/Http/Livewire/Project/Application/General.php
@@ -77,6 +77,10 @@ class General extends Component
];
public function updatedApplicationBuildPack(){
+ if ($this->application->build_pack !== 'nixpacks') {
+ $this->application->settings->is_static = $this->is_static = false;
+ $this->application->settings->save();
+ }
$this->submit();
}
public function instantSave()
diff --git a/config/sentry.php b/config/sentry.php
index 7a6e8e5d28..3e1d76d3ff 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.82',
+ 'release' => '4.0.0-beta.83',
// 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 7e54470387..ce833230df 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.82';
+return '4.0.0-beta.83';
diff --git a/versions.json b/versions.json
index fe0e604627..986f9ba55f 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.82"
+ "version": "4.0.0-beta.83"
}
}
}