1.7 KiB
1.7 KiB
Preparing release notes
- Use "draft new release tag".
- Version starts with "v", e.g. "v1.1.0".
- Fill "Raw notes".
git fetch --tags upstreamgit log --pretty="%h - %s" v1.0.0..HEAD
- Fill "Bug fixes".
git log v0.11.1..HEAD- Manually look for
#1234references in commit messages.
- Fill "Current status".
node utils/print_versions.js- Copy tests status from IsPlaywrightReady.
- Fill "Highlights" if any.
- Be creative.
- Fill "Breaking API Changes" if any.
git diff v0.11.1:docs/api.md docs/api.md
- Fill "New APIs" if any.
git diff v0.11.1:docs/api.md docs/api.md
- When making links to the API, copy actual links from GitHub, and not from
api.mdsource - these might be incorrect.- Before publishing, replace
blob/master/docswithblob/v1.1.0/docsin all the links.
- Before publishing, replace
- Use "Save Draft", not "Publish".
Releasing to npm
- Mark a new version.
- Bump
package.jsonversion tovXXX.YYY.ZZZ. npm run docto update documentation links.- Send a PR titled
chore: mark version vXXX.YYY.ZZZ. - Make sure the PR passes all required checks.
- Merge it.
- Bump
- Click 'Publish release' button on the prepared release notes.
- Publish to npm.
npm loginnode utils/publish_all_packages.sh --release
- Mark post release.
- Bump
package.jsonversion tovXXX.YYY.ZZZ-post. npm run docto 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.
- Bump