Skip to content

Commit 319d275

Browse files
authored
Fix update version script (rapidsai#545)
Adds missing updates to the script.
1 parent 8ab7858 commit 319d275

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ci/release/update-version.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,15 @@ DEPENDENCIES=(
4242
dask-cudf
4343
libcudf
4444
librapidsmpf
45+
librapidsmpf-tests
4546
librmm
4647
pylibcudf
4748
rapidsmpf
4849
rmm
4950
)
5051
for DEP in "${DEPENDENCIES[@]}"; do
5152
for FILE in dependencies.yaml conda/environments/*.yaml; do
52-
sed_runner "/-.* ${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0/g" "${FILE}"
53+
sed_runner "/-.* ${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}\(\[.*\]\)\{0,1\}==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0/g" "${FILE}"
5354
done
5455
for FILE in python/*/pyproject.toml; do
5556
sed_runner "/\"${DEP}==/ s/==.*\"/==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0\"/g" "${FILE}"
@@ -73,7 +74,7 @@ for FILE in conda/recipes/*/conda_build_config.yaml; do
7374
done
7475

7576
# rapids-cmake version
76-
sed_runner 's/'"set(rapids-cmake-version.*"'/'"set(rapids-cmake-version ${NEXT_RAPIDS_SHORT_TAG})"'/g' cmake/RAPIDS.cmake
77+
sed_runner 's/'"set(rapids-cmake-version.*"'/'"set(rapids-cmake-version ${NEXT_SHORT_TAG})"'/g' cmake/RAPIDS.cmake
7778

7879
# CI files
7980
for FILE in .github/workflows/*.yaml; do
@@ -85,5 +86,5 @@ done
8586
find .devcontainer/ -type f -name devcontainer.json -print0 | while IFS= read -r -d '' filename; do
8687
sed_runner "s/rapidsai\/devcontainers:[0-9]*\\.[0-9]*-/rapidsai\/devcontainers:${NEXT_SHORT_TAG}-/g" "${filename}"
8788
sed_runner "s/rapids-\${localWorkspaceFolderBasename}-[0-9]*\\.[0-9]*-/rapids-\${localWorkspaceFolderBasename}-${NEXT_SHORT_TAG}-/g" "${filename}"
88-
sed_runner "s/rapids-build-utils:[0-9]*\\.[0-9]*\"/rapids-build-utils:${NEXT_SHORT_TAG}\"/g" "${filename}"
89+
sed_runner "s/rapids-build-utils:[0-9]*\\.[0-9]*\"/rapids-build-utils:${NEXT_SHORT_TAG_PEP440}\"/g" "${filename}"
8990
done

0 commit comments

Comments
 (0)