From 4ae759a3de24f42e05968496e3951ddfd4be5f91 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Sun, 24 Sep 2023 11:49:47 +0300 Subject: [PATCH] =?UTF-8?q?chore:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D1=82=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D1=83?= =?UTF-8?q?=D1=80=D0=B0=D1=86=D0=B8=D1=8E=20semantic-release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .releaserc.json | 91 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 .releaserc.json diff --git a/.releaserc.json b/.releaserc.json new file mode 100644 index 0000000..be56e3d --- /dev/null +++ b/.releaserc.json @@ -0,0 +1,91 @@ +{ + "branches": [ + "main" + ], + "ci": false, + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "preset": "ESLint", + "releaseRules": [ + { + "tag": "breaking", + "release": "major" + }, + { + "tag": "chore", + "release": false + }, + { + "tag": "ci", + "release": false + }, + { + "tag": "docs", + "release": false + }, + { + "tag": "feat", + "release": "minor" + }, + { + "tag": "fix", + "release": "patch" + }, + { + "tag": "refactor", + "release": "patch" + }, + { + "tag": "security", + "release": "patch" + }, + { + "tag": "style", + "release": "patch" + }, + { + "tag": "test", + "release": false + } + ] + } + ], + [ + "@semantic-release/release-notes-generator", + { + "preset": "conventionalcommits", + "presetConfig": { + "types": [ + { + "type": "feat", + "section": "Новые функции" + }, + { + "type": "fix", + "section": "Исправления" + } + ] + }, + "linkCompare": false, + "linkReferences": false + } + ], + [ + "@semantic-release/changelog", + { + "changelogFile": "CHANGELOG.md" + } + ], + [ + "@semantic-release/git", + { + "assets": [ + "CHANGELOG.md" + ], + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + } + ] + ] +} \ No newline at end of file