chore: update release guide (#1495)
This commit is contained in:
Родитель
e139d4cae7
Коммит
05dc89b978
|
@ -21,3 +21,20 @@
|
|||
- Before publishing, replace `blob/master/docs` with `blob/v1.1.0/docs` in all the links.
|
||||
1. Use "Save Draft", not "Publish".
|
||||
|
||||
# Releasing to npm
|
||||
|
||||
1. Mark a new version.
|
||||
- Bump `package.json` version to `vXXX.YYY.ZZZ`.
|
||||
- `npm run doc` to update documentation links.
|
||||
- Send a PR titled `chore: mark version vXXX.YYY.ZZZ`.
|
||||
- Make sure the PR passes all required checks.
|
||||
- Merge it.
|
||||
1. Click 'Publish release' button on the prepared release notes.
|
||||
1. Publish to npm.
|
||||
- `npm login`
|
||||
- `node utils/publish_all_packages.sh --release`
|
||||
1. Mark post release.
|
||||
- Bump `package.json` version to `vXXX.YYY.ZZZ-post`.
|
||||
- `npm run doc` to update documentation links.
|
||||
- Merge a PR titled `chore: bump version to vXXX.YYY.ZZZ-post`.
|
||||
- **NOTE**: no other commits should be landed in-between release commit and bump commit.
|
||||
|
|
Загрузка…
Ссылка в новой задаче