From 26355bc277241c03e8ef60ffa3f38a4e8a08973d Mon Sep 17 00:00:00 2001 From: birjolaxew Date: Tue, 15 Sep 2020 16:15:43 +0200 Subject: [PATCH] ci: configure semantic-release to release patches for documentation changes --- package.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package.json b/package.json index 5d63296..14d2a94 100644 --- a/package.json +++ b/package.json @@ -42,5 +42,20 @@ "commitizen": { "path": "./node_modules/cz-conventional-changelog" } + }, + "release": { + "branches": ["master"], + "plugins": [ + ["@semantic-release/commit-analyzer", { + "preset": "angular", + "releaseRules": [ + { "type": "docs", "release": "patch" }, + { "type": "chore", "release": "patch" } + ] + }], + "@semantic-release/release-notes-generator", + "@semantic-release/npm", + "@semantic-release/github" + ] } }