From 5dcf7b82f530105a22e8b4733221020f1bb3b528 Mon Sep 17 00:00:00 2001 From: David LJ Date: Fri, 24 Nov 2023 11:14:09 +0100 Subject: [PATCH] build(release): add rule for dependencies update releases --- .releaserc.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.releaserc.js b/.releaserc.js index 80e96dac..f251297d 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -70,6 +70,18 @@ module.exports = { }, ], }, + releaseRules: [ + { + // Commit type depends on preset + // https://github.com/semantic-release/commit-analyzer/blob/v11.1.0/README.md#specific-commit-properties + // https://github.com/conventional-changelog/conventional-changelog/tree/conventional-commits-parser-v5.0.0/packages/conventional-commits-parser#usage + // https://github.com/conventional-changelog/conventional-changelog/tree/conventional-changelog-conventionalcommits-v7.0.2/packages/conventional-changelog-conventionalcommits + type: 'chore', + scope: 'release', + subject: '*dependencies*', + release: 'patch', + }, + ], writerOpts: { //👇 Add library name in release notes // https://github.com/conventional-changelog/conventional-changelog/tree/conventional-changelog-writer-v7.0.1/packages/conventional-changelog-writer#finalizecontext