From caa37a35f1f5ba45ac261983c46c54a579f0ae2b Mon Sep 17 00:00:00 2001 From: Victoria Rodriguez Date: Thu, 21 Nov 2024 16:39:47 -0300 Subject: [PATCH] fix: release --- package.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/package.json b/package.json index 22ec94d3..02606a16 100644 --- a/package.json +++ b/package.json @@ -51,5 +51,41 @@ "repository": { "type": "git", "url": "https://github.com/gcba/Obelisco-v2.git" + }, + "release": { + "branches": [ + "main" + ], + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "preset": "conventionalcommits", + "releaseRules": [ + { + "type": "fix", + "release": "patch" + }, + { + "type": "feat", + "release": "minor" + }, + { + "type": "docs", + "release": false + }, + { + "type": "chore", + "release": false + } + ] + } + ], + "@semantic-release/release-notes-generator", + "@semantic-release/changelog", + "@semantic-release/npm", + "@semantic-release/github", + "@semantic-release/git" + ] } } \ No newline at end of file