From 4930221067ff6a695938d1876a900ed854ac6331 Mon Sep 17 00:00:00 2001 From: Niloy Sikdar Date: Thu, 6 Oct 2022 13:41:03 +0530 Subject: [PATCH] build(releaserc): add .releaserc file Add .releaserc file with the release configurations for semantic-release Signed-off-by: Niloy Sikdar --- .releaserc | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .releaserc diff --git a/.releaserc b/.releaserc new file mode 100644 index 0000000..a8f1a2c --- /dev/null +++ b/.releaserc @@ -0,0 +1,44 @@ +{ + "branches": [ + "main" + ], + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "releaseRules": [ + { + "type": "docs", + "scope": "README", + "release": "patch" + } + ] + } + ], + "@semantic-release/release-notes-generator", + [ + "@semantic-release/changelog", + { + "changelogFile": "CHANGELOG.md" + } + ], + "@semantic-release/npm", + [ + "@semantic-release/github", + { + "successComment": "🎉 This PR is included in version ${nextRelease.version} 🎉", + "addReleases": "bottom" + } + ], + [ + "@semantic-release/git", + { + "assets": [ + "CHANGELOG.md", + "package.json" + ], + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + } + ] + ] +}