Skip to content

Commit b2e7da8

Browse files
committed
Simplify update-version.sh
1 parent 5977911 commit b2e7da8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ci/release/update-version.sh

-5
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@ NEXT_FULL_TAG=$1
1313
# Get <major>.<minor> for next version
1414
NEXT_MAJOR=$(echo "$NEXT_FULL_TAG" | awk '{split($0, a, "."); print a[1]}')
1515
NEXT_MINOR=$(echo "$NEXT_FULL_TAG" | awk '{split($0, a, "."); print a[2]}')
16-
NEXT_PATCH=$(echo "$NEXT_FULL_TAG" | awk '{split($0, a, "."); print a[3]}')
1716
NEXT_SHORT_TAG=${NEXT_MAJOR}.${NEXT_MINOR}
1817

19-
# Need to distutils-normalize the versions for some use cases
20-
NEXT_SHORT_TAG_PEP440=$(python -c "from packaging.version import Version; print(Version('${NEXT_SHORT_TAG}'))")
21-
PATCH_PEP440=$(python -c "from packaging.version import Version; print(Version('${NEXT_PATCH}'))")
22-
2318
echo "Updating RAPIDS versions to $NEXT_FULL_TAG"
2419

2520
# Inplace sed replace; workaround for Linux and Mac

0 commit comments

Comments
 (0)