FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Post build hooks are run after publishing · Issue #133 · NativePHP/desktop · GitHub

Post build hooks are run after publishing #133

Description

What were you trying to do?

I am trying to publish my application

What happened?

When running native:publish, the script both builds and publishes the application, but post build hooks are executed at the end of the process, meaning published assets are missing those hooks.

How to reproduce the bug

Just run the native:publish command with a proper post build hook

Debug Output

{
"Environment": {
"PHP": {
"Version": "8.4.7",
"Path": "/Users//Library/Application Support/Herd/bin/php84"
},
"Laravel": {
"Version": "13.17.0",
"ConfigCached": false,
"RoutesCached": false,
"DebugEnabled": true
},
"Node": {
"Version": "v22.22.1",
"Path": "/Users/
/Library/Application Support/Herd/config/nvm/versions/node/v22.22.1/bin/node"
},
"NPM": {
"Version": "10.9.4",
"Path": "/Users/***/Library/Application Support/Herd/config/nvm/versions/node/v22.22.1/bin/npm"
},
"OperatingSystem": "Darwin",
"ElectronRoot": "vendor/nativephp/desktop/resources/electron"
},
"NativePHP": {
"Versions": {
"nativephp/desktop": "2.2.1.0",
"nativephp/php-bin": "1.2.0.0"
},
"Configuration": {
"Provider": "App\Providers\NativeAppServiceProvider",
"BuildHooks": {
"Pre": [],
"Post": [
"bash scripts/my-script.sh"
]
},
"NotarizationEnabled": false,
"AzureTrustedSigningEnabled": false,
"CustomPHPBinary": false
}
}
}

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


    Back | FazBrowse Home | New Git URL