Skip to content

native:publish won't upload artefacts on the select provider #102

@Ashraam

Description

@Ashraam

What were you trying to do?

Hi all,

I'm make a menubar app which works as intended, but when I try to build and publish on S3, it builds the app but won't upload it on S3.

I've found a way to make it works,

Instead of doing:

php artisan native:publish

I have to execute this command:

NATIVEPHP_UPDATER_ENABLED=true php artisan native:publish

In my .env, the NATIVEPHP_UPDATER_ENABLED is set to true

My php version: PHP 8.4.19 (cli) (built: Mar 13 2026 00:18:40) (NTS clang 15.0.0)
Node version: 25.8.1
NPM Version: 11.11.0
Laravel version: 12.55
NativePHP version: 2.1.1

What happened?

When I use the command native:publish, the artefacts aren't uploaded

How to reproduce the bug

This command won't upload artefacts on the provider:

php artisan native:publish

This command will:

NATIVEPHP_UPDATER_ENABLED=true php artisan native:publish

Debug Output

There are no errors in the log

Which operating systems have you seen this occur on?

macOS

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions