Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update release guide #1495

Merged
merged 1 commit into from
Mar 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/development/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.