chore: update release guide (#1495)

This commit is contained in:
Dmitry Gozman 2020-03-23 14:55:26 -07:00 committed by GitHub
parent e139d4cae7
commit 05dc89b978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.