You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check out the latest release_4.7 branch of Treelite on a local machine.
Create a new branch on top of release_4.7 and switch to it: git switch -c make_4.7.2.
Create a new commit to bump the version to 4.7.2. The change should be generated by running python dev/change_version.py --major 4 --minor 7 --patch 2.
Push the updated make_4.7.2 branch to GitHub and create a pull request. The pull request should target the release_4.7 branch. Patch release 4.7.2 #703
Check that the CI pipeline runs successfully with the pull request.
Merge the pull request and let the CI run. Make sure that all tests are passing and build artifacts are available at the treelite-wheels S3 bucket.
Assign the git tag 4.7.2 to the latest commit of branch release_4.7: git checkout release_4.7 && git pull origin release_4.7 && git tag 4.7.2
Publish the tag to GitHub: git push origin 4.7.2.
Run the Python script dev/prepare_pypi_release.py to download the artifacts from the S3 bucket.
Upload the artifacts to PyPI.
Create a new release on GitHub using the tag 4.7.2.
Pull requests
Release Process
release_4.7branch of Treelite on a local machine.release_4.7and switch to it:git switch -c make_4.7.2.python dev/change_version.py --major 4 --minor 7 --patch 2.make_4.7.2branch to GitHub and create a pull request. The pull request should target therelease_4.7branch. Patch release 4.7.2 #703treelite-wheelsS3 bucket.4.7.2to the latest commit of branchrelease_4.7:git checkout release_4.7 && git pull origin release_4.7 && git tag 4.7.2git push origin 4.7.2.dev/prepare_pypi_release.pyto download the artifacts from the S3 bucket.4.7.2.