diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d08649..41be5db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ Generation of this changelog is based on commits +## v1.5.1 + +### Fixes + +- [6c663cf7f] - **commands**: allow chore type in validation regex + ## v1.5.0 ### Features diff --git a/package.json b/package.json index e20396a..b604b9b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@resultium/rcz", - "version": "1.5.0", + "version": "1.5.1", "description": "Resultium commit standardization library, based on conventional commits", "main": "./dist/index.js", "bin": { diff --git a/src/index.ts b/src/index.ts index e4a7c1e..d9f59eb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -465,7 +465,7 @@ program const testRegex = new RegExp( `(${ config?.types?.map((type) => type.value).join("|") || - "feat|fix|build|ci|docs|perf|refactor" + "feat|fix|build|ci|docs|perf|refactor|chore" })(\\((${ config?.scopes ? [...config?.scopes, "release"] : "..*" })\\))?!?: .* ?(\\(..*\\))?((\n\n..*)?(\n\n..*)?)?`,