From 4ccc67f5b9c4e04400715450f501ba9297733140 Mon Sep 17 00:00:00 2001 From: Fred Date: Fri, 12 Jun 2026 10:23:18 -0300 Subject: [PATCH] chore: update 1.x workflow --- .github/workflows/release-1.x.yml | 2 ++ jreleaser-1.x.yml | 58 +++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 jreleaser-1.x.yml diff --git a/.github/workflows/release-1.x.yml b/.github/workflows/release-1.x.yml index c4ce6c0e2e9..bb6413e19f4 100644 --- a/.github/workflows/release-1.x.yml +++ b/.github/workflows/release-1.x.yml @@ -99,6 +99,8 @@ jobs: JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }} JRELEASER_MAVENCENTRAL_USERNAME: ${{ secrets.JRELEASER_MAVEN_CENTRAL_TOKEN_USER }} JRELEASER_MAVENCENTRAL_PASSWORD: ${{ secrets.JRELEASER_MAVEN_CENTRAL_TOKEN }} + with: + arguments: full-release --config-file jreleaser-1.x.yml - name: JReleaser release output uses: actions/upload-artifact@v7 diff --git a/jreleaser-1.x.yml b/jreleaser-1.x.yml new file mode 100644 index 00000000000..6c9ccee3beb --- /dev/null +++ b/jreleaser-1.x.yml @@ -0,0 +1,58 @@ +project: + java: + groupId: "ai.timefold.solver" + +signing: + active: ALWAYS + armored: true + +release: + github: + commitAuthor: + name: "Timefold Release Bot" + email: "release@timefold.ai" + releaseName: "Timefold Solver {{projectVersion}}" + draft: true + overwrite: false + sign: true + milestone: + close: true + changelog: + formatted: ALWAYS + preset: "conventional-commits" + contentTemplate: ".github/workflows/release-changelog-template.md" + contributors: + format: '- {{contributorName}} ({{contributorUsernameAsLink}})' + hide: + uncategorized: true + categories: + - build + - ci + contributors: + - "Timefold Release Bot" + +deploy: + maven: + mavenCentral: + timefold-solver: + active: ALWAYS + url: https://central.sonatype.com/api/v1/publisher + authorization: BASIC + # TODO Remove verifyPom tag, hack for https://github.com/jreleaser/jreleaser/issues/1397 + verifyPom: false + maxRetries: 180 # the timeout for Maven state verification is now 30 minutes: 180 retries * 10-second delay + stagingRepositories: + - "target/staging-deploy" + artifactOverrides: + - groupId: ai.timefold.solver + artifactId: timefold-solver-spring-boot-starter + sourceJar: false + javadocJar: false + - groupId: ai.timefold.solver + artifactId: timefold-solver-ide-config + sourceJar: true + javadocJar: false + - groupId: ai.timefold.solver + artifactId: timefold-solver-webui + sourceJar: true + javadocJar: false