docs: update release doc to include changes to publish script

This commit is contained in:
Doug Parker 2020-07-10 13:34:10 -07:00 committed by Alan Agius
parent 6e8d4509a8
commit 4938554490

View File

@ -168,7 +168,7 @@ For the first release of a major version, follow the instructions in
For non-major release, check out the patch branch (e.g. `9.1.x`), then run:
```bash
yarn # Reload dependencies
yarn admin publish
yarn admin publish --tag latest
```
If also publishing a prerelease, check out `master`, then run:
@ -177,6 +177,16 @@ yarn # Reload dependencies
yarn admin publish --tag next
```
If also publish an LTS branch, check out that patch branch (e.g. `8.3.x`), then
run:
**Make sure to update the NPM tag for the version you are releasing!**
```bash
yarn # Reload dependencies
yarn admin publish --tag v8-lts
```
### Release Notes
`yarn run -s admin changelog` takes `from` and `to` arguments which are any valid git