The yarn version command in Yarn 1 automatically, by default, creates an annotated Git tag when run within a Git repository. The resulting git tag follows the format v0.0.0. However, this feature has been removed in Yarn 3 and is nowhere to be found in the Release Workflow documentation page.
It does appear that this feature will be reintroduced as part of Yarn 4, which lists changes that include:
Make yarn version create tags for the relevant workspaces
We will track the following Yarn repository issue in preparation for the release of Yarn 4 (and hopefully the reintroduction of git tags) via:
The
yarn versioncommand in Yarn 1 automatically, by default, creates an annotated Git tag when run within a Git repository. The resulting git tag follows the formatv0.0.0. However, this feature has been removed in Yarn 3 and is nowhere to be found in the Release Workflow documentation page.It does appear that this feature will be reintroduced as part of Yarn 4, which lists changes that include:
We will track the following Yarn repository issue in preparation for the release of Yarn 4 (and hopefully the reintroduction of git tags) via: