Skip to content

vendor:publish not publishing in 5.1 #16

@ghost

Description

I am testing your version from the next-gen branch at the moment and the config and migration don't get published unless I do a little change in the ServiceProvider even though I get a success message on publishing.

I have to change the $this->app->configPath and $this->app->basePath to config_path and database_path.

__DIR__.'/../resources/config/laravel-medialibrary.php' => $this->app->configPath('laravel-medialibrary.php'),
__DIR__.'/../resources/config/laravel-medialibrary.php' => config_path('laravel-medialibrary.php'),
__DIR__.'/../resources/migrations/create_media_table.php' => $this->app->basePath('database/migrations/'.$timestamp.'_create_media_table.php'),
__DIR__.'/../resources/migrations/create_media_table.php' => database_path('migrations/'.$timestamp.'_create_media_table.php'),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions