mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 11:03:53 +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:
|
For non-major release, check out the patch branch (e.g. `9.1.x`), then run:
|
||||||
```bash
|
```bash
|
||||||
yarn # Reload dependencies
|
yarn # Reload dependencies
|
||||||
yarn admin publish
|
yarn admin publish --tag latest
|
||||||
```
|
```
|
||||||
|
|
||||||
If also publishing a prerelease, check out `master`, then run:
|
If also publishing a prerelease, check out `master`, then run:
|
||||||
@ -177,6 +177,16 @@ yarn # Reload dependencies
|
|||||||
yarn admin publish --tag next
|
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
|
### Release Notes
|
||||||
|
|
||||||
`yarn run -s admin changelog` takes `from` and `to` arguments which are any valid git
|
`yarn run -s admin changelog` takes `from` and `to` arguments which are any valid git
|
||||||
|
Loading…
x
Reference in New Issue
Block a user