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 6e6e8a1 commit 3da2736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sbin/Release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ fi
if [ "$DRY_RUN" == "false" ]; then
cd adopt-github-release || exit 1
chmod +x gradlew
export JAVA_OPTS=-Xmx=1g
export GRADLE_OPTS=-Xmx=1g
export JAVA_OPTS=-Xmx1g
export GRADLE_OPTS=-Xmx1g
GRADLE_USER_HOME=./gradle-cache ./gradlew --no-daemon 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
Expand Down

0 comments on commit 3da2736

Please sign in to comment.