Skip to content

Release

Justin Chu edited this page Feb 26, 2025 · 7 revisions

Release pipeline on Azure DevOps: onnxscript-release-pipeline

ONNX Script release triggers are configured in the Azure DevOps UI: https://dev.azure.com/aiinfra/ONNX%20Exporter/_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.
  • For a bug fix release, create an release branch release/0.1.1, cherry-pick the needed commits, set the version number in VERSION to the correct number, then tag.
  1. Create a new run for https://dev.azure.com/aiinfra/ONNX%20Exporter/_build?definitionId=1711, be sure to set the newly created version tag as the target. E.g. refs/tags/v0.1.0.
  2. Download the build artifacts, install the wheels and test them.
  3. After testing, go to https://dev.azure.com/aiinfra/ONNX%20Exporter/_release?_a=releases&view=mine&definitionId=3 to approve the release. It will be uploaded to PyPI.
  4. Create a PR and bump the minor version number in https://github.com/microsoft/onnxscript/blob/main/VERSION.