Small fix for the release doc and script. [skip ci] (#7332)

Add Philip as co-maintainer of maven packages.
This commit is contained in:
Jiaming Yuan 2021-10-20 12:49:12 +08:00 committed by GitHub
parent c42e3fbcf3
commit 5ff210ed75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View File

@ -105,7 +105,7 @@ Following steps should be done manually:
def download_r_packages(release: str, rc: str, commit: str) -> None: def download_r_packages(release: str, rc: str, commit: str) -> None:
platforms = ["linux", "win64"] platforms = ["win64", "linux"]
dirname = "./r-packages" dirname = "./r-packages"
if not os.path.exists(dirname): if not os.path.exists(dirname):
os.mkdir(dirname) os.mkdir(dirname)
@ -113,9 +113,13 @@ def download_r_packages(release: str, rc: str, commit: str) -> None:
filenames = [] filenames = []
for plat in platforms: for plat in platforms:
url = f"{PREFIX}{release}/xgboost_r_gpu_linux_{commit}.tar.gz" url = f"{PREFIX}{release}/xgboost_r_gpu_{plat}_{commit}.tar.gz"
if not rc:
filename = f"xgboost_r_gpu_{plat}_{release}.tar.gz"
else:
filename = f"xgboost_r_gpu_{plat}_{release}-{rc}.tar.gz"
filename = f"xgboost_r_gpu_linux_{release}-{rc}.tar.gz"
target = os.path.join(dirname, filename) target = os.path.join(dirname, filename)
retrieve(url=url, filename=target) retrieve(url=url, filename=target)
filenames.append(target) filenames.append(target)

View File

@ -25,6 +25,6 @@ Making a Release
4. Create a tag on release branch, either on GitHub or locally. 4. Create a tag on release branch, either on GitHub or locally.
5. Make a release on GitHub tag page, which might be done with previous step if the tag is created on GitHub. 5. Make a release on GitHub tag page, which might be done with previous step if the tag is created on GitHub.
6. Submit pip, CRAN, and Maven packages. 6. Submit pip, CRAN, and Maven packages.
- The pip package is maintained by [Hyunsu Cho](http://hyunsu-cho.io/) and [Jiaming Yuan](https://github.com/trivialfis). There's a helper script for downloading pre-built wheels on ``xgboost/dev/release-pypi.py`` along with simple instructions for using ``twine``. - The pip package is maintained by [Hyunsu Cho](http://hyunsu-cho.io/) and [Jiaming Yuan](https://github.com/trivialfis). There's a helper script for downloading pre-built wheels and R packages ``xgboost/dev/release-pypi-r.py`` along with simple instructions for using ``twine``.
- The CRAN package is maintained by [Tong He](https://github.com/hetong007). - The CRAN package is maintained by [Tong He](https://github.com/hetong007).
- The Maven package is maintained by [Nan Zhu](https://github.com/CodingCat). - The Maven package is maintained by [Nan Zhu](https://github.com/CodingCat) and [Hyunsu Cho](http://hyunsu-cho.io/).