Skip to content

NPM Publish new expected format for repository.url isn't supported by the github plugin #1103

@Belphemur

Description

@Belphemur

Hello,
Part of testing the new beta of semantic-release for publishing with OIDC, I encountered a warning (auto-fixed) from npm:

npm warn publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.\n' +
      'npm warn publish errors corrected:\n' +
      'npm warn publish "repository.url" was normalized to "git+https://github.com/Belphemur/node-json-db.git"\n' +

I fixed that warning with the given command, but now the github plugin isn't able to run it's success part because it can't parse the repository URL.

cf: semantic-release/npm#958 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions