Skip to content

Commit 0c92472

Browse files
authored
fix: disable announcements and releases for jreleaser (#103)
1 parent 6ec8cda commit 0c92472

File tree

1 file changed

+19
-0
lines changed
  • build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl

1 file changed

+19
-0
lines changed

build-plugins/build-support/src/main/kotlin/aws/sdk/kotlin/gradle/dsl/Publish.kt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,29 @@ fun Project.configureJReleaser() {
172172
project {
173173
version = sdkVersion
174174
}
175+
175176
signing {
176177
active = Active.ALWAYS
177178
armored = true
178179
}
180+
181+
// Used for creating a tagged release, uploading files and generating changelogs.
182+
// In the future we can set this up to push release tags to GitHub, but for now it's
183+
// set up to do nothing.
184+
// https://jreleaser.org/guide/latest/reference/release/index.html
185+
release {
186+
generic {
187+
enabled = true
188+
skipRelease = true
189+
}
190+
}
191+
192+
// Used to announce a release to configured announcers.
193+
// https://jreleaser.org/guide/latest/reference/announce/index.html
194+
announce {
195+
active = Active.NEVER
196+
}
197+
179198
deploy {
180199
maven {
181200
mavenCentral {

0 commit comments

Comments
 (0)