- Create a new branch for the release:
git checkout -b release/v{X.X.X}
- Write/Generate changelog in
CHANGELOG.md
and bump the package version inpackage.json
. - Commit all changes and push to remote.
- Comment
/bot create ticket
on the GitHub PR to make a release ticket automatically. - Once the release ticket is created successfully, ask the EM to review the release ticket and await
Release approved
.
- Go to the GitHub repository and navigate to the Actions tab.
- Select the "Package build and publish" workflow.
- Provide the required inputs:
- version: Enter the new version (e.g.,
X.X.X
). - npm_tag: Enter the release tag if applicable (e.g.,
beta
,next
,rc
), otherwise leave it blank for the actual release. - tag_suffix: Enter the tag suffix if applicable, otherwise leave it blank. If provided, the npm release tag format will be
${version}-${npm_tag}-${tag_suffix}
; e.g.,1.2.3-rc-0
.
- version: Enter the new version (e.g.,
- Click on "Run workflow". The workflow will cover these steps:
- Publish the package to npm.
- Tag the new version and push it to the origin.
- In the GitHub repository, navigate to the releases section.
- Draft a new release note with the new tag automatically created in Step 1 by the workflow. Write the changelog in the description and then publish the release.
- In the
sdk-release
channel, post a release message.