Skip to content

Commit

Permalink
Improve regex to match branch in docs
Browse files Browse the repository at this point in the history
Co-authored-by: Ray Douglass <[email protected]>
  • Loading branch information
pentschev and raydouglass authored Apr 2, 2024
1 parent 85a38ea commit 1ff360d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1ff360d

Please sign in to comment.