You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
As long as yarn version is upgraded to include the creation of annotated Git tags in Yarn 4, we should be able simplify some of the release scripts in package.json:
+ "release:push": "git push --atomic origin main --tags",- "release:push": "git tag v$npm_package_version && git push --atomic origin main --tags",
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 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:
The text was updated successfully, but these errors were encountered: