turbo
b0bb0afb - feat(release): allow for overriding npm dist tag (#9899)

Commit
310 days ago
feat(release): allow for overriding npm dist tag (#9899) ### 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](https://github.com/vercel/turborepo/actions/runs/13144407776/job/36679014437#step:5:12) [`prepatch` release with an override](https://github.com/vercel/turborepo/actions/runs/13144412891/job/36679032662#step:5:12)
Parents
Loading