mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00: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 upstreamgit log --pretty="%h - %s" $(git describe --tags --abbrev=0)..HEAD
 - Fill "Bug fixes".
git log $(git describe --tags --abbrev=0)..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 $(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.mdsource - these might be incorrect.- Before publishing, replace 
blob/master/docswithblob/vX.Y.Z/docsin 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 loginutils/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.