chore: update release plop to scan for additional commit prefixes

This commit is contained in:
Ben Allfree
2024-02-24 05:13:39 -08:00
parent 69de661add
commit ea9a7406d3

View File

@@ -94,7 +94,7 @@ export default function (/** @type {Plop} */ plop) {
async () => {
const { releaseType, summary } = data
const commitsSinceLast = execSync(
`git log $(git describe --tags --abbrev=0)..HEAD --oneline | grep -E "fix:|enh:|feat:" | sed 's/^[^ ]*/\*/' | sort`,
`git log $(git describe --tags --abbrev=0)..HEAD --oneline | grep -E "fix:|enh:|feat:|docs:|chore:" | sed 's/^[^ ]*/\*/' | sort`,
)
.toString()
.replace(/^\S+?\s/gm, '')