Skip to content

Commit 05dc89b

Browse files
authored
chore: update release guide (#1495)
1 parent e139d4c commit 05dc89b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/development/releasing.md

+17
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,20 @@
2121
- Before publishing, replace `blob/master/docs` with `blob/v1.1.0/docs` in all the links.
2222
1. Use "Save Draft", not "Publish".
2323

24+
# Releasing to npm
25+
26+
1. Mark a new version.
27+
- Bump `package.json` version to `vXXX.YYY.ZZZ`.
28+
- `npm run doc` to update documentation links.
29+
- Send a PR titled `chore: mark version vXXX.YYY.ZZZ`.
30+
- Make sure the PR passes all required checks.
31+
- Merge it.
32+
1. Click 'Publish release' button on the prepared release notes.
33+
1. Publish to npm.
34+
- `npm login`
35+
- `node utils/publish_all_packages.sh --release`
36+
1. Mark post release.
37+
- Bump `package.json` version to `vXXX.YYY.ZZZ-post`.
38+
- `npm run doc` to update documentation links.
39+
- Merge a PR titled `chore: bump version to vXXX.YYY.ZZZ-post`.
40+
- **NOTE**: no other commits should be landed in-between release commit and bump commit.

0 commit comments

Comments
 (0)