diff --git a/.releaserc.json b/.releaserc.json index f2eac691..251b82bc 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -2,7 +2,10 @@ "branches": ["main"], "tagFormat": "${version}", "plugins": [ - "@semantic-release/commit-analyzer", + [ + "@semantic-release/commit-analyzer", { + "preset": "conventionalcommits" + }], [ "@google/semantic-release-replace-plugin", { @@ -38,7 +41,10 @@ ] } ], - "@semantic-release/release-notes-generator", + [ + "@semantic-release/release-notes-generator", { + "preset": "conventionalcommits" + }], [ "@semantic-release/changelog", { diff --git a/scripts/ci/pr-title-linter.sh b/scripts/ci/pr-title-linter.sh index 7653b6c2..70d00f9d 100755 --- a/scripts/ci/pr-title-linter.sh +++ b/scripts/ci/pr-title-linter.sh @@ -2,4 +2,4 @@ set -e -echo "${1}" | grep -E "^(BREAKING CHANGE|chore|fix|docs|feat|test)(\(.+\))?\:" +echo "${1}" | grep -E "^(chore|fix|docs|feat|test)(\(.+\))?\:"