diff --git a/ci/release/update-version.sh b/ci/release/update-version.sh index 3aac5047..f6d5f735 100755 --- a/ci/release/update-version.sh +++ b/ci/release/update-version.sh @@ -58,6 +58,6 @@ done sed_runner "s/RAPIDS_VERSION_NUMBER=\".*/RAPIDS_VERSION_NUMBER=\"${NEXT_SHORT_TAG}\"/g" ci/build_docs.sh # Docs referencing source code -for FILE in docs/source/*.rst; do +find docs/source/ -type f -name *.rst -print0 | while IFS= read -r -d '' filename; do sed_runner "s|/branch-[^/]*/|/branch-${NEXT_SHORT_TAG}/|g" "${FILE}" done