mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 10:33:43 +08:00
docs: update release doc to include changes to publish script
This commit is contained in:
parent
6e8d4509a8
commit
4938554490
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user