From 3a2adb6ca46181781679fd12b88a84eaf9fe2164 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 7 Nov 2024 11:53:44 -0600 Subject: [PATCH] update-version.sh fixes --- ci/release/update-version.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ci/release/update-version.sh b/ci/release/update-version.sh index 99ee9bfbc..f6a8f1218 100755 --- a/ci/release/update-version.sh +++ b/ci/release/update-version.sh @@ -52,10 +52,9 @@ for FILE in dependencies.yaml conda/environments/*.yaml conda/recipes/**/meta.ya sed_runner "/-.* ${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0/g" "${FILE}" done done -for FILE in python/**/pyproject.toml python/**/**/pyproject.toml; do - for DEP in "${DEPENDENCIES[@]}"; do - sed_runner "/\"${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*\"/==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0\"/g" "${FILE}" - done + +for DEP in "${DEPENDENCIES[@]}"; do + sed_runner "/\"${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*\"/==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0\"/g" ./pyproject.toml done # CI files @@ -64,3 +63,8 @@ for FILE in .github/workflows/*.yaml; do done sed_runner "s/branch-[0-9][0-9].[0-9][0-9]/branch-${NEXT_SHORT_TAG}/" ./docs/nx-cugraph/source/nx_cugraph/nx_cugraph.md + +# issue templates +for FILE in ./.github/ISSUE_TEMPLATE/*.yaml; do + sed_runner "s/example\: ${CURRENT_SHORT_TAG}/example: ${NEXT_SHORT_TAG}/" "${FILE}" +done