From 64eb517c35fd2d962216999e4bd8af862bd52a50 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 7 Aug 2024 12:15:46 -0500 Subject: [PATCH] Improve update-version.sh (#57) A few small tweaks to `update-version.sh` for alignment across RAPIDS. Authors: - Bradley Dice (https://github.com/bdice) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) URL: https://github.com/rapidsai/rapids-dask-dependency/pull/57 --- ci/release/update-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/release/update-version.sh b/ci/release/update-version.sh index c1162ca..19ae19c 100755 --- a/ci/release/update-version.sh +++ b/ci/release/update-version.sh @@ -10,7 +10,7 @@ NEXT_FULL_TAG=$1 # Get current version CURRENT_TAG=$(git tag --merged HEAD | grep -xE '^v.*' | sort --version-sort | tail -n 1 | tr -d 'v') -#Get . for next version +# Get . for next version NEXT_MAJOR=$(echo "$NEXT_FULL_TAG" | awk '{split($0, a, "."); print a[1]}') NEXT_MINOR=$(echo "$NEXT_FULL_TAG" | awk '{split($0, a, "."); print a[2]}') NEXT_PATCH=$(echo "$NEXT_FULL_TAG" | awk '{split($0, a, "."); print a[3]}')