| name | release |
| description | Publish a new Sentry JavaScript SDK release. Use when preparing a release, updating the changelog, or creating a release branch. |
| argument-hint | ["VERSION"] |
Release Process
See docs/publishing-a-release.md for full details.
Steps
- Ensure you're on
develop with latest changes. Stash any unsaved work with git stash -u if needed.
- Run
yarn changelog (use yarn changelog | pbcopy to copy output).
- Decide on a version per semver. Check the top of
CHANGELOG.md for the current version.
- Create branch
prepare-release/VERSION off develop.
- Update
CHANGELOG.md — add the new version entry with the changelog output. See the "Updating the Changelog" section in docs/publishing-a-release.md for 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 pop if 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 entries
yarn lint — verify code quality
yarn test — run test suite
yarn build:dev — verify build