- Create a new branch for the release, its format should be:
release/v{X.X.X}. - Update the
versionfield inpackage.json. - Write a CHANGELOG for this release.
- Commit the changes, push them to remote, and create a Pull Request.
- Comment
/bot create ticketon 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/betafor thenpm_tagfield 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
versionfield inpackage.json. - Run
yarn build:npmin the directory root.- Make sure you have
.env.productionwhich containsVITE_CHAT_AI_WIDGET_KEY=.... VITE_CHAT_AI_WIDGET_KEYcan be found in 1Password under the entryCHAT_AI_WIDGET_KEY.
- Make sure you have
- Run
npm publish(with--tag rc / alpha / betadepending on your need).
