Browse Source

Configure local JDK toolchains in CI staging job

pull/30690/head
Brian Clozel 1 year ago
parent
commit
b077ae9259
  1. 3
      ci/scripts/stage-version.sh

3
ci/scripts/stage-version.sh

@ -35,7 +35,8 @@ git add gradle.properties > /dev/null @@ -35,7 +35,8 @@ git add gradle.properties > /dev/null
git commit -m"Release v$stageVersion" > /dev/null
git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null
./gradlew --no-daemon --max-workers=4 -PdeploymentRepository=${repository} build publishAllPublicationsToDeploymentRepository
./gradlew --no-daemon --max-workers=4 -PdeploymentRepository=${repository} -Porg.gradle.java.installations.fromEnv=JDK17,JDK21 \
build publishAllPublicationsToDeploymentRepository
git reset --hard HEAD^ > /dev/null
if [[ $nextVersion != $snapshotVersion ]]; then

Loading…
Cancel
Save