From ef921773fd159de97a241d552d6a21d71a372b4f Mon Sep 17 00:00:00 2001 From: Sietze van Buuren Date: Mon, 27 Jan 2025 17:48:04 +0100 Subject: [PATCH] chore: Add types to release notes and disable release commenting on issues and PRs Signed-off-by: Sietze van Buuren --- .releaserc | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.releaserc b/.releaserc index 3ec44f8..273bfc5 100644 --- a/.releaserc +++ b/.releaserc @@ -2,7 +2,31 @@ "branches": ["master", "next"], "plugins": [ "@semantic-release/commit-analyzer", - "@semantic-release/release-notes-generator", - "@semantic-release/github" + [ + "@semantic-release/release-notes-generator", + { + "preset": "angular", + "presetConfig": + { + "types": [ + {"type": "feat", "section": "✨ New Features"}, + {"type": "fix", "section": "🐛 Bug Fixes"}, + {"type": "chore", "section": "🔧 Chore"}, + {"type": "ci", "section": "👷 Chore"}, + {"type": "docs", "section": "📝 Documentation"}, + {"type": "style", "section": "🎨 Style"}, + {"type": "refactor", "section": "♻️ Refactors"}, + {"type": "perf", "section": "⚡ Performance Improvements"}, + {"type": "test", "section": "✅ Tests"} + ] + } + } + ], + [ + "@semantic-release/github", + { + "successComment": false + } + ] ] }