mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
1.9 KiB
1.9 KiB
Preparing release notes
- Use "draft new release tag".
- Version starts with "v", e.g. "vX.Y.Z".
- Fill "Raw notes".
git fetch --tags upstream
git log --pretty="%h - %s" $(git describe --tags --abbrev=0)..HEAD
- Fill "Bug fixes".
git log $(git describe --tags --abbrev=0)..HEAD
- Manually look for
#1234
references 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 $(git describe --tags --abbrev=0):docs/api.md docs/api.md
- Fill "New APIs" if any.
git diff $(git describe --tags --abbrev=0):docs/api.md docs/api.md
- When making links to the API, copy actual links from GitHub, and not from
api.md
source - these might be incorrect.- Before publishing, replace
blob/master/docs
withblob/vX.Y.Z/docs
in all the links.
- Before publishing, replace
- Use "Save Draft", not "Publish".
Releasing to npm
- Announce
PSA: release vX.Y.Z in progress. Please do not commit anything.
- Important: no other commits should land in-between release commit and bump commit.
- Mark a new version.
node utils/update_version.js vX.Y.Z && npm run doc
.- Send a PR titled
chore: mark version vX.Y.Z
. - Make sure the PR passes all required checks and merge it.
- Publish to npm.
npm login
utils/publish_all_packages.sh --release
- Click 'Publish release' button on the prepared release notes.
- Mark post release.
node utils/update_version.js vX.Y.Z-post && npm run doc
.- Merge a PR titled
chore: bump version to vX.Y.Z-post
.
- Announce
PSA: release vX.Y.Z is out.