From 92cba25fe22797eea156d8429facb49443d99c91 Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Sun, 2 Jun 2024 02:06:35 +0800 Subject: [PATCH] Remove reference to R win64 MSVC build. (#10355) --- dev/release-artifacts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/release-artifacts.py b/dev/release-artifacts.py index d5f28f6fc..9f27d3573 100644 --- a/dev/release-artifacts.py +++ b/dev/release-artifacts.py @@ -230,7 +230,6 @@ def release_note( ) -> None: """Generate a note for GitHub release description.""" r_gpu_linux_url = r_urls["linux"] - r_gpu_win64_url = r_urls["win64"] src_tarball = ( f"https://github.com/dmlc/xgboost/releases/download/v{release}/{tarname}" ) @@ -251,7 +250,6 @@ echo " " | shasum -a 256 --check **Experimental binary packages for R with CUDA enabled** * xgboost_r_gpu_linux_{release}.tar.gz: [Download]({r_gpu_linux_url}) -* xgboost_r_gpu_win64_{release}.tar.gz: [Download]({r_gpu_win64_url}) **Source tarball** * xgboost.tar.gz: [Download]({src_tarball})""" @@ -297,6 +295,8 @@ def main(args: argparse.Namespace) -> None: commit_hash = latest_hash() outdir = os.path.abspath(args.outdir) + if outdir.find(str(ROOT)) != -1: + raise ValueError("output dir must be outside of the source tree.") if not os.path.exists(outdir): os.mkdir(outdir)