Skip to content

Release

Justin Chu edited this page Jan 27, 2025 · 4 revisions

Release pipeline on Azure DevOps: onnxscript-release-pipeline

ONNX Script release triggers are configured in the Azure DevOps UI: https://aiinfra.visualstudio.com/ONNX%20Converters/_apps/hub/ms.vss-ciworkflow.build-ci-hub?_a=edit-build-definition&id=1258&view=Tab_Triggers

Release error messages: https://aka.ms/releaseui

Create a new official release

  1. Create a tag with the version number v[...]. For example, 0.1.0 should be v0.1.0 and write the release notes.
  2. Create a new run for https://aiinfra.visualstudio.com/ONNX%20Exporter/_build?definitionId=1711, be sure to set the newly created version tag as the target. E.g. refs/tags/v0.1.0.
  3. Download the build artifacts, install the wheels and test them.
  4. After testing, go to https://aiinfra.visualstudio.com/ONNX%20Exporter/_release?_a=releases&view=mine&definitionId=3 to approve the release. It will be uploaded to PyPI.
  5. Create a PR and bump the minor version number in https://github.com/microsoft/onnxscript/blob/main/VERSION.