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 versions

Andras Bacsai2ae57ae1f105
diff --git a/app/Http/Livewire/CheckUpdate.php b/app/Http/Livewire/CheckUpdate.php
index fac16e3e22..1d947a2e3a 100644
--- a/app/Http/Livewire/CheckUpdate.php
+++ b/app/Http/Livewire/CheckUpdate.php
@@ -16,7 +16,7 @@ class CheckUpdate extends Component
public function checkUpdate()
{
$this->latestVersion = getLatestVersionOfCoolify();
- $this->currentVersion = config('coolify.version');
+ $this->currentVersion = config('version');
if ($this->latestVersion === 'latest') {
$this->updateAvailable = true;
return;
diff --git a/app/Jobs/DeployApplicationJob.php b/app/Jobs/DeployApplicationJob.php
index aa86ff5cdb..08a4d5403c 100644
--- a/app/Jobs/DeployApplicationJob.php
+++ b/app/Jobs/DeployApplicationJob.php
@@ -376,7 +376,7 @@ COPY --from={$this->application->uuid}:{$this->git_commit}-build /app/{$this->ap
{
$labels = [];
$labels[] = 'coolify.managed=true';
- $labels[] = 'coolify.version=' . config('coolify.version');
+ $labels[] = 'coolify.version=' . config('version');
$labels[] = 'coolify.applicationId=' . $this->application->id;
$labels[] = 'coolify.type=application';
$labels[] = 'coolify.name=' . $this->application->name;
diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php
index 65fccab1bc..be599237ac 100644
--- a/app/Providers/AppServiceProvider.php
+++ b/app/Providers/AppServiceProvider.php
@@ -16,7 +16,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function register(): void
{
- // if (config('app.env') === 'production' && Str::contains(config('coolify.version'), ['nightly'])) {
+ // if (config('app.env') === 'production' && Str::contains(config('version'), ['nightly'])) {
// Process::run('php artisan migrate:fresh --force --seed --seeder=ProductionSeeder');
// }
}
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php
index 515f475095..8a8ab42d4e 100644
--- a/resources/views/auth/register.blade.php
+++ b/resources/views/auth/register.blade.php
@@ -1,5 +1,5 @@
<x-layout>
- <div>v{{ config('coolify.version') }}</div>
+ <div>v{{ config('version') }}</div>
<a href="/login">Login</a>
<a href="/register">Register</a>
<form action="/register" method="POST">