From 1ff360d9a669922ed2d3dadb334e2882f0e6ba65 Mon Sep 17 00:00:00 2001 From: Peter Andreas Entschev Date: Tue, 2 Apr 2024 18:16:36 +0200 Subject: [PATCH] Improve regex to match branch in docs Co-authored-by: Ray Douglass <3107146+raydouglass@users.noreply.github.com> --- ci/release/update-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/release/update-version.sh b/ci/release/update-version.sh index 034211d1..3aac5047 100755 --- a/ci/release/update-version.sh +++ b/ci/release/update-version.sh @@ -59,5 +59,5 @@ sed_runner "s/RAPIDS_VERSION_NUMBER=\".*/RAPIDS_VERSION_NUMBER=\"${NEXT_SHORT_TA # Docs referencing source code for FILE in docs/source/*.rst; do - sed_runner "s/branch-${CURRENT_SHORT_TAG}\//branch-${NEXT_SHORT_TAG}\//g" "${FILE}" + sed_runner "s|/branch-[^/]*/|/branch-${NEXT_SHORT_TAG}/|g" "${FILE}" done