[BUG] Changing version in prepublishOnly-Script has incorrect output #2756
Labels
Bug
thing that needs fixing
Priority 2
secondary priority issue
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
I have a prepublishOnly script like "npm version patch". However, npm tries to publish with previous version.
Expected Behavior:
Version of published package should be incremented (like it was for npm@6)
Steps To Reproduce:
Yeah, put a "prepublishOnly" script into package.json:
Environment:
Two notes:
Edit: hmmm, when I tested with verdaccio, it seems the upload is right - it's only the output (version and tgz name) - nevertheless, that's still a mess ;-)
The text was updated successfully, but these errors were encountered: