Some notes for maintainers.
See the documentation README for more information on writing (and testing) documentation.
-
Bump the version using the
update-version.sh
script:git checkout -b bump-version main ./scripts/update-version.sh --no-tag patch # or minor or major
By default this would create a local tag, but we would have to overwrite it later, so we skip that step.
-
Test it!
make dist-test # Make sure that the version number on the wheels looks correct. ls */dist/*.whl
-
Make and merge a PR.
-
Update the tag locally.
Once the PR with the new version files is merged.
git checkout main git pull git tag vM.m.p
Note:
M.m.p
is the version number you just bumped to above. -
Retest!
make dist-clean make dist-test
-
Update the tag remotely to the MLOS upstream repo.
git push --tags # upstream (if that's what you called your upstream git remote)
-
Make a "Release" on Github.
Once this is done, the rules in
.github/workflows/devcontainer.yml
will automatically publish the wheels to pypi and tagged docker images to ACR.
Note: This may fail if the version number is already published to pypi, in which case start from the beginning with a new patch version.