From 33ac86cfe2a74a3dab73a9faa00a8f59991e2ee0 Mon Sep 17 00:00:00 2001 From: Andres Almiray Date: Sat, 26 Nov 2022 11:40:58 +0100 Subject: [PATCH] build: Announce to Mastodon on release --- jreleaser.yml | 52 +++++++++++++++------------------------------------ 1 file changed, 15 insertions(+), 37 deletions(-) diff --git a/jreleaser.yml b/jreleaser.yml index e95b2b4f..910cc260 100644 --- a/jreleaser.yml +++ b/jreleaser.yml @@ -18,12 +18,13 @@ project: name: enforcer-gradle-plugin - description: 'Enforcer Gradle Plugin' + description: Enforcer Gradle Plugin longDescription: | Enforce build and project settings in Gradle. A port of the popular https://maven.apache.org/enforcer/maven-enforcer-plugin/index.html - website: https://github.com/kordamp/enforcer-gradle-plugin + links: + homepage: https://github.com/kordamp/enforcer-gradle-plugin authors: - Andres Almiray license: Apache-2.0 @@ -39,56 +40,33 @@ release: name: '{{projectVersion}}' changelog: formatted: ALWAYS + preset: conventional-commits format: '- {{commitShortHash}} {{commitTitle}}' contributors: format: '- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}' labelers: - - label: 'feature' - title: 'Resolves #' - body: 'Resolves #' - - label: 'issue' - title: 'Fixes #' - body: 'Fixes #' - - label: 'issue' - title: 'Relates to #' - body: 'Relates to #' - - label: 'task' - title: '[chore]' - label: 'dependencies' - title: '[deps]' - - label: 'docs' - title: '[docs]' - - label: 'build' - title: '[build]' + title: 'regex:^(?:deps(?:\(.*\))?!?):\s.*' + order: 120 categories: - - title: '🚀 Features' - labels: - - 'feature' - - title: '✅ Issues' - labels: - - 'issue' - - title: '🧰 Tasks' - labels: - - 'task' - - title: '📝 Documentation' - labels: - - 'docs' - title: '⚙️ Dependencies' + key: 'dependencies' + order: 80 labels: - 'dependencies' - - title: '🛠 Build' - labels: - - 'build' hide: + categories: + - 'merge' contributors: - 'GitHub' replacers: - - search: '\[chore\] ' - - search: '\[deps\] ' - - search: '\[docs\] ' - - search: '\[build\] ' + - search: 'deps: ' announce: twitter: active: release status: 🚀 {{projectName}} {{projectVersion}} has been released! {{releaseNotesUrl}} + mastodon: + active: release + host: https://mastodon.social + status: 🚀 {{projectName}} {{projectVersion}} has been released! {{releaseNotesUrl}}