update versions
This commit is contained in:
parent
69e5e3f461
commit
2ae57ae1f1
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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');
|
||||
// }
|
||||
}
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user