From afb3d8d2908dec2e358a8f4388032c9534d9e2f4 Mon Sep 17 00:00:00 2001 From: lutkerd Date: Thu, 18 Apr 2024 18:21:16 +0000 Subject: [PATCH] Use version format of the "update release" --- .github/scripts/update-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/update-version.sh b/.github/scripts/update-version.sh index 58e940173cc..841e76281c6 100644 --- a/.github/scripts/update-version.sh +++ b/.github/scripts/update-version.sh @@ -7,7 +7,7 @@ UPSTREAM_REMOTE=$1 # Load the current OpenJDK version source make/conf/version-numbers.conf -BUILD_NUMBER=$(git ls-remote --tags ${UPSTREAM_REMOTE} |grep jdk-${DEFAULT_VERSION_FEATURE}+ | grep -vE "(-ga|{})$" | cut -d+ -f 2 |sort -n |tail -1) +BUILD_NUMBER=$(git ls-remote --tags ${UPSTREAM_REMOTE} |grep jdk-${DEFAULT_VERSION_FEATURE}.${DEFAULT_VERSION_INTERIM}.${DEFAULT_VERSION_UPDATE} | grep -vE "(-ga|{})$" | cut -d+ -f 2 |sort -n |tail -1) # Load the current Corretto version CURRENT_VERSION=$(cat version.txt)