Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(packager): wait for event before starting an upload #6625

Merged

Conversation

DanielMcAssey
Copy link
Contributor

When the configuration has a artifactBuildCompleted file which needs to be waited, the upload starts anyway as it listens to the artifactCreated event. This resolves that by first waiting for any hooks, then dispatching the event.

When the configuration has a artifactBuildCompleted file which needs to be waited, the upload starts anyway as it listens to the artifactCreated event. This resolves that by first waiting for any hooks, then dispatching the event.
@changeset-bot
Copy link

changeset-bot bot commented Feb 9, 2022

🦋 Changeset detected

Latest commit: 00ca3ed

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
app-builder-lib Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Feb 9, 2022

✔️ Deploy Preview for car-park-attendant-cleat-11576 ready!

🔨 Explore the source changes: 00ca3ed

🔍 Inspect the deploy log: https://app.netlify.com/sites/car-park-attendant-cleat-11576/deploys/6203b5e05c39900007c1d7d6

😎 Browse the preview: https://deploy-preview-6625--car-park-attendant-cleat-11576.netlify.app

@mmaietta mmaietta merged commit c561af8 into electron-userland:master Feb 10, 2022
@mmaietta
Copy link
Collaborator

Thank you for your contribution!

@DanielMcAssey DanielMcAssey deleted the fix-not-waiting-for-promise branch February 10, 2022 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants