From 222803dad094e42aed6c855fc1ca3922cb4467f1 Mon Sep 17 00:00:00 2001 From: nclsbayona <59931437+nclsbayona@users.noreply.github.com> Date: Sat, 27 Apr 2024 17:37:57 -0500 Subject: [PATCH] build: Update .releaserc --- .releaserc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.releaserc b/.releaserc index 3dcc194..df36a7a 100644 --- a/.releaserc +++ b/.releaserc @@ -2,7 +2,19 @@ "branches": ["master"], "repositoryUrl": "https://github.com/nclsbayona/nclsbayona-readme-action.git", "plugins": [ - "@semantic-release/commit-analyzer", + [ + '@semantic-release/commit-analyzer', { + preset: 'angular', + releaseRules: [ + { breaking: true, release: 'major' }, + { type: 'feat', release: 'minor' }, + { type: 'fix', release: 'patch' }, + { scope: 'deps', release: 'patch' }, + { type: 'docs', scope: "README", release: 'patch' }, + { type: 'chore', release: 'patch' }, + ], + }, + ], "@semantic-release/release-notes-generator", "@semantic-release/github", [