- Create a new branch for the release, its format should be:
release/v{X.X.X}
. - Update the
version
field inpackage.json
. - Write a CHANGELOG for this release.
- Commit the changes, push them to remote, and create a Pull Request.
- Comment
/bot create ticket
on the GitHub PR to automatically generate a release ticket. - Obtain approval from managers for the ticket before proceeding to the next step.
- Navigate to Actions -> Publish Workflow in the GitHub repository.
- Change the target branch to the release branch created in Step 0.
- Enter the target version (e.g., 1.3.1) in the version field, and specify
rc
/alpha
/beta
for thenpm_tag
field if necessary.
- Merge the PR created in Step 0.
- When the release branch is merged into the default branch, the self-service-publish workflow will deploy the self-service script.
- Check the progress in Circle CI dashboard.
- Update the
version
field inpackage.json
. - Run
yarn build:npm
in the directory root.- Make sure you have
.env.production
which containsVITE_CHAT_AI_WIDGET_KEY=...
. VITE_CHAT_AI_WIDGET_KEY
can be found in 1Password under the entryCHAT_AI_WIDGET_KEY
.
- Make sure you have
- Run
npm publish
(with--tag rc / alpha / beta
depending on your need).