Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Use version format of the "update release"
Browse files Browse the repository at this point in the history
  • Loading branch information
lutkerd committed Apr 18, 2024
1 parent 347d904 commit afb3d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit afb3d8d

Please sign in to comment.