Skip to content

Commit

Permalink
Upgrade release tool gradle to run on jdk-21
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard committed Feb 12, 2024
1 parent 38e890a commit cc55a17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions adopt-github-release/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,5 @@ if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi

echo "$JAVACMD" "$@"
exec "$JAVACMD" "$@"
2 changes: 1 addition & 1 deletion sbin/Release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ fi
if [ "$DRY_RUN" == "false" ]; then
cd adopt-github-release || exit 1
chmod +x gradlew
GRADLE_USER_HOME=./gradle-cache ./gradlew --no-daemon run --args="--version \"${VERSION}\" --tag \"${TAG}\" --description \"${description}\" ${server} ${org} $RELEASE_OPTION $files"
GRADLE_USER_HOME=./gradle-cache ./gradlew run --args="--version \"${VERSION}\" --tag \"${TAG}\" --description \"${description}\" ${server} ${org} $RELEASE_OPTION $files"
# Run releaseCheck.sh to check that the correct number of artifacts are live
if [ -z "$TIMESTAMP" -a "$UPLOAD_TESTRESULTS_ONLY" = "false" ]; then
echo "*** PERFORMING RELEASE CHECK TO SEE IF THERE ARE ANY UNEXPECTED PROBLEMS ***"
Expand Down

0 comments on commit cc55a17

Please sign in to comment.