Skip to content

Restore .npmrc to its original state #145

Closed
@pvdlg

Description

@pvdlg

The plugin create a local .npmrc file for authentication.
After each step (verifyConditions, prepare, publish, addChannel) we should restore the local .npmrc to its original state:

  • If there was no .npmrc file we should delete the one we have created
  • If there was a .npmrc file we should restore it

See semantic-release/semantic-release#1109

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions