semantic-release / npm

:ship: semantic-release plugin to publish a npm package
MIT License
248 stars 116 forks source link

Feature request: check permission to publish in verify step (if it's even possible) #848

Closed jedwards1211 closed 3 months ago

jedwards1211 commented 3 months ago

Similar to https://github.com/semantic-release/github/issues/895, I want to investigate if there's any possible way to verify that the npm token has permission to publish the package in the verify step. Right now if publish fails, semantic-release has already pushed a git tag, and we have to manually delete the git tag (from GitHub etc) before rerunning semantic-release.

jedwards1211 commented 3 months ago

whoops, dupe of #4