fix: do not update next channel all the time

This commit is contained in:
Andras Bacsai 2023-07-03 21:52:28 +02:00
parent 63accc552a
commit cb0939acf3
2 changed files with 12 additions and 13 deletions

View File

@ -26,7 +26,6 @@ public function __invoke(bool $force)
ray('latest version:' . $this->latest_version . " current version: " . $this->current_version . ' force: ' . $force);
if ($settings->next_channel) {
ray('next channel enabled');
$force = true;
$this->latest_version = 'next';
}
if ($force) {

View File

@ -25,35 +25,35 @@ function sync:bunny {
}
function queue {
bash vendor/bin/spin exec -u webuser coolify php artisan queue:listen
bash spin exec -u webuser coolify php artisan queue:listen
}
function horizon {
bash vendor/bin/spin exec -u webuser coolify php artisan horizon -vvv
bash spin exec -u webuser coolify php artisan horizon -vvv
}
function schedule {
bash vendor/bin/spin exec -u webuser coolify php artisan schedule:work
bash spin exec -u webuser coolify php artisan schedule:work
}
function schedule:run {
bash vendor/bin/spin exec -u webuser coolify php artisan schedule:run
bash spin exec -u webuser coolify php artisan schedule:run
}
function db:reset {
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --seed
bash spin exec -u webuser coolify php artisan migrate:fresh --seed
}
function db {
bash vendor/bin/spin exec -u webuser coolify php artisan db
bash spin exec -u webuser coolify php artisan db
}
function db:migrate {
bash vendor/bin/spin exec -u webuser coolify php artisan migrate
bash spin exec -u webuser coolify php artisan migrate
}
function db:reset-prod {
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
bash spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
}
@ -62,11 +62,11 @@ function mfs {
}
function coolify {
bash vendor/bin/spin exec -u webuser coolify bash
bash spin exec -u webuser coolify bash
}
function coolify:root {
bash vendor/bin/spin exec coolify bash
bash spin exec coolify bash
}
function coolify:proxy {
docker exec -ti coolify-proxy sh
@ -77,11 +77,11 @@ function redis {
}
function vite {
bash vendor/bin/spin exec vite bash
bash spin exec vite bash
}
function tinker {
bash vendor/bin/spin exec -u webuser coolify php artisan tinker
bash spin exec -u webuser coolify php artisan tinker
}