- Find the current version on https://pypi.org
- On github find the tag with the name matches version number found in step one, take down the name/id of last commit
- Compare with current main branch and fill CHANGES.md with description of new changes not included in previous deployment.
- Update version.cfg to next patch version if no new feature added.
To next minor version, if new features are added.
To update major version, please coordinating with pm and leads. - Send the pr and wait for gated pipelines to finish.
- Inform the team to block all other pr to be merged before new version be totally released.
- Merge pr, then manually run pipeline release-rai.yml
- Release to pytest first and verify it is working fine
- Release pypi.com by using "prod" as input env parameter
- Prod pipeline will also release prod javascript packages to npm
- Go to the releases page: https://github.com/microsoft/responsible-ai-widgets/releases Select "Draft a new release"
- Add in the release notes from CHANGES.md. Select the new release tag that was just created after the deploy. Click publish to publish the new releases