@@ -18,18 +18,16 @@ CURRENT_MINOR=$(echo $CURRENT_TAG | awk '{split($0, a, "."); print a[2]}')
1818CURRENT_PATCH=$( echo $CURRENT_TAG | awk ' {split($0, a, "."); print a[3]}' )
1919CURRENT_SHORT_TAG=${CURRENT_MAJOR} .${CURRENT_MINOR}
2020
21- # Get <major>.<minor> for next version
21+ # Get <major>.<minor> for next version
2222NEXT_MAJOR=$( echo $NEXT_FULL_TAG | awk ' {split($0, a, "."); print a[1]}' )
2323NEXT_MINOR=$( echo $NEXT_FULL_TAG | awk ' {split($0, a, "."); print a[2]}' )
2424NEXT_PATCH=$( echo $NEXT_FULL_TAG | awk ' {split($0, a, "."); print a[3]}' )
2525NEXT_SHORT_TAG=${NEXT_MAJOR} .${NEXT_MINOR}
26- NEXT_UCX_PY_VERSION=" $( curl -sL https://version.gpuci.io/rapids/${NEXT_SHORT_TAG} ) .*"
2726
2827# Need to distutils-normalize the versions for some use cases
2928CURRENT_SHORT_TAG_PEP440=$( python -c " from setuptools.extern import packaging; print(packaging.version.Version('${CURRENT_SHORT_TAG} '))" )
3029NEXT_SHORT_TAG_PEP440=$( python -c " from setuptools.extern import packaging; print(packaging.version.Version('${NEXT_SHORT_TAG} '))" )
3130PATCH_PEP440=$( python -c " from setuptools.extern import packaging; print(packaging.version.Version('${NEXT_PATCH} '))" )
32- echo " current is ${CURRENT_SHORT_TAG_PEP440} , next is ${NEXT_SHORT_TAG_PEP440} "
3331
3432echo " Preparing release $CURRENT_TAG => $NEXT_FULL_TAG "
3533
@@ -61,7 +59,7 @@ for DEP in "${DEPENDENCIES[@]}"; do
6159 sed_runner " /-.* ${DEP} \(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*/==${NEXT_SHORT_TAG_PEP440} .*,>=0.0.0a0/g" " ${FILE} "
6260 done
6361 for FILE in python/* /pyproject.toml; do
64- sed_runner " /\" ${DEP} ==/ s/==.*\" /==${NEXT_SHORT_TAG_PEP440} .*,>=0.0.0a0\" /g" ${FILE}
62+ sed_runner " /\" ${DEP} ==/ s/==.*\" /==${NEXT_SHORT_TAG_PEP440} .*,>=0.0.0a0\" /g" " ${FILE} "
6563 done
6664done
6765
@@ -77,7 +75,7 @@ sed_runner "s/CUDF_TAG branch-${CURRENT_SHORT_TAG}/CUDF_TAG branch-${NEXT_SHORT_
7775# CI files
7876for FILE in .github/workflows/* .yaml .github/workflows/* .yml; do
7977 sed_runner " /shared-workflows/ s/@.*/@branch-${NEXT_SHORT_TAG} /g" " ${FILE} "
80- sed_runner " s/dask-cuda.git@branch-[^\" \s]\+/dask-cuda.git@branch-${NEXT_SHORT_TAG} /g" ${FILE} ;
78+ sed_runner " s/dask-cuda.git@branch-[^\" \s]\+/dask-cuda.git@branch-${NEXT_SHORT_TAG} /g" " ${FILE} "
8179done
8280sed_runner " s/branch-[0-9]+\.[0-9]+/branch-${NEXT_SHORT_TAG} /g" ci/test_wheel_cudf_polars.sh
8381
0 commit comments