[x] Create a new commit to bump the version to 4.2.0. The change should be generated by running python dev/change_version.py --major 4 --minor 2 --patch 0.
[x] Push the updated release_4.2 branch to GitHub: git push origin release_4.2.
[x] Check that the CI pipeline runs successfully with the new branch release_4.2. The CI pipeline will upload artifacts to an S3 bucket.
[x] Assign the git tag 4.2.0 to the latest commit of branch release_4.2: git tag 4.2.0
[x] Publish the tag to GitHub: git push origin 4.2.0.
[x] Run the Python script dev/prepare_pypi_release.py to download the artifacts from the S3 bucket.
[x] Upload the artifacts to PyPI.
[x] Create a new release on GitHub using the tag 4.2.0.
[x] Submit a pull request to Treelite to bump the development version to 4.3.0-dev. The pull request should target the mainline branch.
[x] Generate the changes by running python dev/change_version.py --major 4 --minor 3 --patch 0 --is-dev 1
Release Process
[x] Check that the latest CI run on the
mainline
branch is passing.[x] Check out the latest
mainline
branch of Treelite on a local machine.[x] Create
release_4.2
branch:git switch -c release_4.2
[x] Create a new commit to bump the version to 4.2.0. The change should be generated by running
python dev/change_version.py --major 4 --minor 2 --patch 0
.[x] Push the updated
release_4.2
branch to GitHub:git push origin release_4.2
.[x] Check that the CI pipeline runs successfully with the new branch
release_4.2
. The CI pipeline will upload artifacts to an S3 bucket.[x] Assign the git tag
4.2.0
to the latest commit of branchrelease_4.2
:git tag 4.2.0
[x] Publish the tag to GitHub:
git push origin 4.2.0
.[x] Run the Python script
dev/prepare_pypi_release.py
to download the artifacts from the S3 bucket.[x] Upload the artifacts to PyPI.
[x] Create a new release on GitHub using the tag
4.2.0
.[x] Submit a pull request to Treelite to bump the development version to
4.3.0-dev
. The pull request should target themainline
branch.python dev/change_version.py --major 4 --minor 3 --patch 0 --is-dev 1
[x] Submit a pull request to conda-forge/treelite-feedstock to publish the 4.2.0 release to Conda-Forge.