Skip to content

Commit fd47b86

Browse files
committed
change vendor:publish tag names
1 parent bafecae commit fd47b86

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Serverfireteam/Panel/Commands/PanelCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ public function handle()
4242

4343
$this->info('** publishing panel assets');
4444
$this->call('vendor:publish', [
45-
'--tag' => 'public',
45+
'--tag' => 'panelpublic',
4646
'--quiet' => null
4747
//'--force' => 1
4848
]);
4949
$this->info('** publishing panel config');
5050
$this->call('vendor:publish', [
51-
'--tag' => 'config',
51+
'--tag' => 'panelconfig',
5252
'--quiet' => null
5353
//'--force' => 1
5454
]);
5555
$this->info('** publishing panel views');
5656
$this->call('vendor:publish', [
57-
'--tag' => 'views',
57+
'--tag' => 'panelviews',
5858
'--quiet' => null
5959
//'--force' => 1
6060
]);

src/Serverfireteam/Panel/PanelServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,20 +103,20 @@ public function register()
103103

104104
$this->publishes([
105105
__DIR__ . '/../../../public' => public_path('packages/serverfireteam/panel')
106-
], 'public');
106+
], 'panelpublic');
107107

108108
$this->publishes([
109109
__DIR__.'/config/panel.php' => config_path('panel.php'),
110110
__DIR__.'/config/elfinder.php' => config_path('elfinder.php'),
111-
], 'config');
111+
], 'panelconfig');
112112
}
113113

114114
public function boot()
115115
{
116116
$this->loadViewsFrom(__DIR__.'/../../views', 'panelViews');
117117
$this->publishes([
118118
__DIR__.'/../../views' => base_path('resources/views/vendor/panelViews'),
119-
], 'views');
119+
], 'panelviews');
120120

121121
include __DIR__."/../../routes.php";
122122

0 commit comments

Comments
 (0)