3

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 ?

RobC
  • 22,977
  • 20
  • 73
  • 80
mbesson
  • 629
  • 5
  • 24

1 Answers1

1

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

Maël Nison
  • 7,055
  • 7
  • 46
  • 77