From 4e1bc180ba1db0e55e87a90554082bd29d025dc2 Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Fri, 31 May 2024 22:07:44 +0800 Subject: [PATCH 1/2] Remove reference to R win64 MSVC build. --- dev/release-artifacts.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/dev/release-artifacts.py b/dev/release-artifacts.py index d5f28f6fc0ca..546dcc64452c 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 @@ def release_note( **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})""" From d5a557ded5dc5b0f89347b595653f78245b5ee70 Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Fri, 31 May 2024 22:15:33 +0800 Subject: [PATCH 2/2] check [skip ci] --- dev/release-artifacts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/release-artifacts.py b/dev/release-artifacts.py index 546dcc64452c..9f27d35738c6 100644 --- a/dev/release-artifacts.py +++ b/dev/release-artifacts.py @@ -295,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)