publish-please icon indicating copy to clipboard operation
publish-please copied to clipboard

Possible to check if published

Open DominicBoettger opened this issue 7 years ago • 2 comments

Is it possible to check if a version has already been published and just skip the publish step?

This was the behaviour of publish.

DominicBoettger avatar Sep 02 '18 16:09 DominicBoettger

Hi @DominicBoettger, thank you for your feedback.

Do you mean that if you execute publish-please twice, it should not fail on the second run since it has been published in the first run?

hdorgeval avatar Sep 03 '18 17:09 hdorgeval

I vote to close this issue.

npm publish will throw an error if you try to publish a package version that already exists, and I think it makes sense that it does. If you don't want to get an error you could execute the dry run option

crhistianramirez avatar Apr 04 '20 15:04 crhistianramirez