1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-18 00:53:10 +01:00

Merge pull request #5391 from turbo124/v5-stable

V5 stable
This commit is contained in:
David Bomba 2021-04-09 08:38:48 +10:00 committed by GitHub
commit 1a8dd34c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,6 @@ use Cz\Git\GitException;
use Cz\Git\GitRepository; use Cz\Git\GitRepository;
use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Artisan;
class SelfUpdateController extends BaseController class SelfUpdateController extends BaseController
{ {
@ -83,8 +82,8 @@ class SelfUpdateController extends BaseController
Artisan::call('view:clear'); Artisan::call('view:clear');
Artisan::call('config:clear'); Artisan::call('config:clear');
$output = $repo->execute('stash'); // $output = $repo->execute('stash');
$output = $repo->execute('reset hard origin/v5-stable'); // $output = $repo->execute('reset --hard origin/v5-stable');
$output = $repo->execute('pull origin'); $output = $repo->execute('pull origin');
} catch (GitException $e) { } catch (GitException $e) {