From d1f06dc049dffe6df9db77c074db5f42af06ff44 Mon Sep 17 00:00:00 2001 From: 0marperez Date: Mon, 21 Jul 2025 15:30:54 -0400 Subject: [PATCH 1/2] misc: disable announcements for jreleaser --- .../src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt b/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt index ab69c29..665df78 100644 --- a/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt +++ b/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt @@ -176,6 +176,9 @@ fun Project.configureJReleaser() { active = Active.ALWAYS armored = true } + announce { + active = Active.NEVER + } deploy { maven { mavenCentral { From 4a1dced4926a3ba3337e461f26802e4a297965af Mon Sep 17 00:00:00 2001 From: 0marperez Date: Tue, 22 Jul 2025 13:57:04 -0400 Subject: [PATCH 2/2] skip releases --- .../kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt b/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt index 665df78..419e5a8 100644 --- a/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt +++ b/build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt @@ -172,13 +172,29 @@ fun Project.configureJReleaser() { project { version = sdkVersion } + signing { active = Active.ALWAYS armored = true } + + // Used for creating a tagged release, uploading files and generating changelogs. + // In the future we can set this up to push release tags to GitHub, but for now it's + // set up to do nothing. + // https://jreleaser.org/guide/latest/reference/release/index.html + release { + generic { + enabled = true + skipRelease = true + } + } + + // Used to announce a release to configured announcers. + // https://jreleaser.org/guide/latest/reference/announce/index.html announce { active = Active.NEVER } + deploy { maven { mavenCentral {