mirror of
https://github.com/vercel/turborepo.git
synced 2025-12-23 09:19:46 +00:00
### Description
Npm requires all published versions to have a dist tag. If we want to
backport a fix we don't want to release this under the `latest` or
`canary` tag. Instead we should release it under a `v${SPECIFIC_MINOR}`
tag if we want to cut another patch under an old version (or
`v${SPECIFIC_MAJOR}` for a minor release for a previous major)
This updates what we write to `version.txt` which is what gets used for
our [NPM
publish](https://github.com/vercel/turborepo/blob/main/cli/Makefile#L2).
### Testing Instructions
[`prepatch` release without an
override](
|
||
|---|---|---|
| .. | ||
| server.js | ||
| update-examples-dep.sh | ||
| version.js | ||