Compare commits

...

2 Commits

Author SHA1 Message Date
Matthew Penner
1beeae5e1f
upgrade: put panel into maintenance mode before writing files 2021-08-18 12:46:21 -06:00
Matthew Penner
5d000ef10f
composer: fix lockfile 2021-08-18 12:46:21 -06:00
2 changed files with 7 additions and 6 deletions

View File

@ -94,6 +94,11 @@ class UpgradeCommand extends Command
$bar = $this->output->createProgressBar($skipDownload ? 9 : 10);
$bar->start();
$this->withProgress($bar, function () {
$this->line('$upgrader> php artisan down');
$this->call('down');
});
if (!$skipDownload) {
$this->withProgress($bar, function () {
$this->line("\$upgrader> curl -L \"{$this->getUrl()}\" | tar -xzv");
@ -104,11 +109,6 @@ class UpgradeCommand extends Command
});
}
$this->withProgress($bar, function () {
$this->line('$upgrader> php artisan down');
$this->call('down');
});
$this->withProgress($bar, function () {
$this->line('$upgrader> chmod -R 755 storage bootstrap/cache');
$process = new Process(['chmod', '-R', '755', 'storage', 'bootstrap/cache']);

3
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "87961b026d9057d13cfc3f9cb21d367d",
"content-hash": "e90dffea56fa4b612863202553cba883",
"packages": [
{
"name": "aws/aws-sdk-php",
@ -10949,6 +10949,7 @@
"php": "^7.4 || ^8.0",
"ext-json": "*",
"ext-mbstring": "*",
"ext-pdo": "*",
"ext-pdo_mysql": "*",
"ext-zip": "*"
},