release
bởi sentry
Phát hành bản phát hành Sentry JavaScript SDK mới. Sử dụng khi chuẩn bị phát hành, cập nhật changelog hoặc tạo nhánh phát hành.
npx skills add https://github.com/getsentry/sentry-javascript --skill releaseRelease Process
See docs/publishing-a-release.md for full details.
Steps
- Ensure you're on
developwith latest changes. Stash any unsaved work withgit stash -uif needed. - Run
yarn changelog(useyarn changelog | pbcopyto copy output). - Decide on a version per semver. Check the top of
CHANGELOG.mdfor the current version. - Create branch
prepare-release/VERSIONoffdevelop. - Update
CHANGELOG.md— add the new version entry with the changelog output. See the "Updating the Changelog" section indocs/publishing-a-release.mdfor formatting details. Do not remove existing entries. - Commit:
meta(changelog): Update changelog for VERSION - Push the branch and remind the user to open a PR targeting
master. - If you were on a different branch, checkout back and
git stash popif needed.
First-time SDK releases
Follow docs/new-sdk-release-checklist.md. If anything doesn't match the checklist, remind the user.
Key commands
yarn changelog— generate changelog entriesyarn lint— verify code qualityyarn test— run test suiteyarn build:dev— verify build