diff --git a/ci/conda-pack.sh b/ci/conda-pack.sh index 7dc2cf81..813e8d3b 100755 --- a/ci/conda-pack.sh +++ b/ci/conda-pack.sh @@ -9,7 +9,8 @@ if [ "$GITHUB_REF_TYPE" = "tag" ]; then VERSION_DESCRIPTOR="" CONDA_USERNAME="rapidsai" fi -CONDA_ENV_NAME="rapids${RAPIDS_VER}${VERSION_DESCRIPTOR}_cuda${RAPIDS_CUDA_VERSION}_py${RAPIDS_PY_VERSION}" +CUDA_VERSION="${RAPIDS_CUDA_VERSION%.*}" +CONDA_ENV_NAME="rapids${RAPIDS_VER}${VERSION_DESCRIPTOR}_cuda${CUDA_VERSION}_py${RAPIDS_PY_VERSION}" echo "Install conda-pack" rapids-mamba-retry install -n base -c conda-forge "conda-pack" @@ -18,7 +19,7 @@ echo "Creating conda environment $CONDA_ENV_NAME" rapids-mamba-retry create -y -n $CONDA_ENV_NAME \ -c $CONDA_USERNAME -c conda-forge -c nvidia \ "rapids=$RAPIDS_VER" \ - "cuda-version=$RAPIDS_CUDA_VERSION" \ + "cuda-version=$CUDA_VERSION" \ "python=$RAPIDS_PY_VERSION" echo "Packing conda environment"