update versions
This commit is contained in:
		@@ -16,7 +16,7 @@ class CheckUpdate extends Component
 | 
				
			|||||||
    public function checkUpdate()
 | 
					    public function checkUpdate()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        $this->latestVersion = getLatestVersionOfCoolify();
 | 
					        $this->latestVersion = getLatestVersionOfCoolify();
 | 
				
			||||||
        $this->currentVersion = config('coolify.version');
 | 
					        $this->currentVersion = config('version');
 | 
				
			||||||
        if ($this->latestVersion === 'latest') {
 | 
					        if ($this->latestVersion === 'latest') {
 | 
				
			||||||
            $this->updateAvailable = true;
 | 
					            $this->updateAvailable = true;
 | 
				
			||||||
            return;
 | 
					            return;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -376,7 +376,7 @@ COPY --from={$this->application->uuid}:{$this->git_commit}-build /app/{$this->ap
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        $labels = [];
 | 
					        $labels = [];
 | 
				
			||||||
        $labels[] = 'coolify.managed=true';
 | 
					        $labels[] = 'coolify.managed=true';
 | 
				
			||||||
        $labels[] = 'coolify.version=' . config('coolify.version');
 | 
					        $labels[] = 'coolify.version=' . config('version');
 | 
				
			||||||
        $labels[] = 'coolify.applicationId=' . $this->application->id;
 | 
					        $labels[] = 'coolify.applicationId=' . $this->application->id;
 | 
				
			||||||
        $labels[] = 'coolify.type=application';
 | 
					        $labels[] = 'coolify.type=application';
 | 
				
			||||||
        $labels[] = 'coolify.name=' . $this->application->name;
 | 
					        $labels[] = 'coolify.name=' . $this->application->name;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,7 @@ class AppServiceProvider extends ServiceProvider
 | 
				
			|||||||
     */
 | 
					     */
 | 
				
			||||||
    public function register(): void
 | 
					    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');
 | 
					        //     Process::run('php artisan migrate:fresh --force --seed --seeder=ProductionSeeder');
 | 
				
			||||||
        // }
 | 
					        // }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
<x-layout>
 | 
					<x-layout>
 | 
				
			||||||
    <div>v{{ config('coolify.version') }}</div>
 | 
					    <div>v{{ config('version') }}</div>
 | 
				
			||||||
    <a href="/login">Login</a>
 | 
					    <a href="/login">Login</a>
 | 
				
			||||||
    <a href="/register">Register</a>
 | 
					    <a href="/register">Register</a>
 | 
				
			||||||
    <form action="/register" method="POST">
 | 
					    <form action="/register" method="POST">
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user