From eb47055ddbddd9586dc37785a7883571a8e9e8f0 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Thu, 19 Oct 2023 14:46:47 -0700 Subject: [PATCH] Anchor the regex --- ci/release/update-version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/release/update-version.sh b/ci/release/update-version.sh index 05564fc9a..92f809c11 100755 --- a/ci/release/update-version.sh +++ b/ci/release/update-version.sh @@ -43,8 +43,8 @@ sed_runner 's/version = .*/version = '"'${NEXT_SHORT_TAG}'"'/g' docs/cuproj/sour sed_runner 's/release = .*/release = '"'${NEXT_FULL_TAG}'"'/g' docs/cuproj/source/conf.py # Python _version.py updates -sed_runner "/__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cuspatial/cuspatial/_version.py -sed_runner "/__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cuproj/cuproj/_version.py +sed_runner "/^__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cuspatial/cuspatial/_version.py +sed_runner "/^__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cuproj/cuproj/_version.py # rapids-cmake version sed_runner 's/'"branch-.*\/RAPIDS.cmake"'/'"branch-${NEXT_SHORT_TAG}\/RAPIDS.cmake"'/g' fetch_rapids.cmake