[x] Create a new branch release_1.0 using the latest commit of main: git switch -c release_1.0
[x] Push the new branch release_1.0 to dmlc/tl2cgen: git push origin release_1.0
[x] Run python dev/change_version.py --major 1 --minor 0 --patch 0 --is-dev 0 to change the version fields in the codebase. Commit the changes to the local branch release_1.0: git commit -m "Release 1.0.0"
[x] Publish the changes to a fork and create a pull request. (git push fork release_1.0) The pull request should target the new branch dmlc/release_1.0. Done: https://github.com/dmlc/tl2cgen/pull/27
[x] Ensure that all tests in the CI (Continuous Integration) pipeline passes. Ping @hcho3 if any issue arises.
[x] Once all tests pass, merge the pull request. Note: This will require an admin access to this repo. Ping @hcho3 to obtain access.
[x] Check that the CI pipeline runs successfully with the release_1.0 branch. The CI pipeline will upload artifacts to an S3 bucket.
[x] Create a new tag 1.0.0 to the branch release_1.0: git tag 1.0.0. Publish the tag with git push origin 1.0.0.
[x] Create a new release on GitHub using the tag 1.0.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. Follow instructions given by dev/prepare-pypi-release.py. Note: You will need to inquire @hcho3 for access to PyPI.
[x] Switch back to the main branch and create a new branch: git checkout main && git switch -c bump_version
[x] Submit a pull request to TL2cgen to bump the development version to 1.1.0-dev, by running python dev/change_version.py --major 1 --minor 1 --patch 0 --is-dev 1
[x] Submit a pull request to conda-forge/tl2cgen-feedstock to publish the 1.0.0 release to Conda-Forge. Ping @hcho3 for help.
release_1.0
using the latest commit ofmain
:git switch -c release_1.0
release_1.0
todmlc/tl2cgen
:git push origin release_1.0
python dev/change_version.py --major 1 --minor 0 --patch 0 --is-dev 0
to change the version fields in the codebase. Commit the changes to the local branchrelease_1.0
:git commit -m "Release 1.0.0"
git push fork release_1.0
) The pull request should target the new branchdmlc/release_1.0
. Done: https://github.com/dmlc/tl2cgen/pull/27release_1.0
branch. The CI pipeline will upload artifacts to an S3 bucket.1.0.0
to the branchrelease_1.0
:git tag 1.0.0
. Publish the tag withgit push origin 1.0.0
.dev/prepare-pypi-release.py
to download the artifacts from the S3 bucket.dev/prepare-pypi-release.py
. Note: You will need to inquire @hcho3 for access to PyPI.main
branch and create a new branch:git checkout main && git switch -c bump_version
1.1.0-dev
, by runningpython dev/change_version.py --major 1 --minor 1 --patch 0 --is-dev 1