From 21d4da6aa3527ef0f9b9e5f1baf6b3372b84f4ca Mon Sep 17 00:00:00 2001 From: Tomasz Kowalczewski Date: Sat, 21 Dec 2024 21:06:07 +0100 Subject: [PATCH] Java 11 in the release workflow. --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9d67fd2..25d6610 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -78,8 +78,10 @@ workflows: requires: - build-and-test executor: new-java-maven-executor - mvn-release-perform-command: >- + mvn-release-prepare-command: >- sudo apt-get update && sudo apt-get install openjdk-11-jdk sudo update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java sudo update-alternatives --set javac /usr/lib/jvm/java-11-openjdk-amd64/bin/javac - mvn --batch-mode release:perform -DskipTests -s .circleci/.maven.xml + mvn --batch-mode release:prepare -ntp -DscmCommentPrefix="[skip ci] [maven-release-plugin] " + mvn-release-perform-command: >- + mvn --batch-mode release:perform -ntp -DskipTests -s .circleci/.maven.xml