Skip to content

If npm run clean-publish fails during the release, script still exits with a success message #2456

@romaricpascal

Description

@romaricpascal

When npm run clean-publish fails because it tries to publish an existing version (#2455), the scripts/utils/create-release-pr script still displays a 'Publish successful' message, instead of an error message.

This can likely be easily investigated by running the portion of the script publishing to npm independently, particularly the npm run clean-publish command to investigate why the command doesn't trigger the catch portion of the script.

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