git checkout -b release/bumped-version
Ensure all dependencies are installed:
yarn
- Note: Skip this step for the first version.
- For subsequent releases, update the version number in
package.json
.
yarn build
- Move items from under
## [Unreleased]
to the new release version (e.g.,## [0.1.0]
). - Add a new
## [Unreleased]
section at the end of the file.
git tag bumped-version
git push origin release/bumped-version
git push origin --tags
- Create a PR to merge
release/bumped-version
into themain
branch. - Wait for all tests to pass.
- Navigate to GitHub Releases.
- Select the recently pushed tag.
- Add a release title and notes.
- Check "pre-release" if it’s an alpha, beta, RC, or dev release.
- Check “Create discussion for this release”.
- Click the Publish button.
cd packages/web3-plugin-wallet-rpc
npm login
npm publish --dry-run # check what will be published
npm publish
npm logout
- Merge the PR created in step 8 back into the
main
branch.