Skip to content

Commit

Permalink
anchor version regex
Browse files Browse the repository at this point in the history
  • Loading branch information
divyegala committed Oct 20, 2023
1 parent 5812c69 commit af6c891
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ sed_runner 's/version = .*/version = '"'${NEXT_SHORT_TAG}'"'/g' docs/cugraph/sou
sed_runner 's/release = .*/release = '"'${NEXT_FULL_TAG}'"'/g' docs/cugraph/source/conf.py

# Python _version.py updates
sed_runner "/__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cugraph/cugraph/_version.py
sed_runner "/__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cugraph-dgl/cugraph_dgl/_version.py
sed_runner "/__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cugraph-pyg/cugraph_pyg/_version.py
sed_runner "/__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cugraph-service/client/cugraph_service_client/_version.py
sed_runner "/__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cugraph-service/server/cugraph_service_server/_version.py
sed_runner "/__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/pylibcugraph/pylibcugraph/_version.py
sed_runner "/__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/nx-cugraph/nx_cugraph/_version.py
sed_runner "/__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/nx-cugraph/_nx_cugraph/_version.py
sed_runner "/^__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cugraph/cugraph/_version.py
sed_runner "/^__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cugraph-dgl/cugraph_dgl/_version.py
sed_runner "/^__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cugraph-pyg/cugraph_pyg/_version.py
sed_runner "/^__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cugraph-service/client/cugraph_service_client/_version.py
sed_runner "/^__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/cugraph-service/server/cugraph_service_server/_version.py
sed_runner "/^__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/pylibcugraph/pylibcugraph/_version.py
sed_runner "/^__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/nx-cugraph/nx_cugraph/_version.py
sed_runner "/^__version__ / s/= .*/= \"${NEXT_FULL_TAG}\"/g" python/nx-cugraph/_nx_cugraph/_version.py

# Wheel testing script
sed_runner "s/branch-.*/branch-${NEXT_SHORT_TAG}/g" ci/test_wheel_cugraph.sh
Expand Down

0 comments on commit af6c891

Please sign in to comment.