Reputation: 749
I recently upgraded yarn to yarn berry (v2) and I can't find any equivalent of yarn version --patch
. The documentation about differences related to cli commands do not mention yarn version
.
Is there a way to bump a package version number using yarn berry cli ?
Upvotes: 4
Views: 837
Reputation: 7353
Cf yarn version
Apply a new version to the current package.
Immediately bump the version to the next major :
yarn version major
So just replace major
by patch
in your case
Upvotes: 1