1.9 KiB
1.9 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
- Announce
PSA: release vXXX.YYY.ZZZ in progress. Please do not commit anything.- Important: no other commits should land in-between release commit and bump commit.
- Mark a new version.
- Bump
package.jsonversion tovXXX.YYY.ZZZ. node utils/sync_package_versions.js && npm run doc.- Send a PR titled
chore: mark version vXXX.YYY.ZZZ. - Make sure the PR passes all required checks and merge it.
- Bump
- Publish to npm.
npm loginnode utils/publish_all_packages.sh --release
- Click 'Publish release' button on the prepared release notes.
- Mark post release.
- Bump
package.jsonversion tovXXX.YYY.ZZZ-post. node utils/sync_package_versions.js && npm run doc.- Merge a PR titled
chore: bump version to vXXX.YYY.ZZZ-post.
- Bump
- Announce
PSA: release vXXX.YYY.ZZZ is out.