mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-02 06:28:53 +00:00
fix: Include multi-line commits in the changelog (#4)
* Allow multiline commit messages * fix: Not matching multi-line commit messages Co-authored-by: Ardalan Amini <[email protected]>
This commit is contained in:
1 parent
e2ed19a3f1
commit
ebb68f8915
1 file changed
+1
-1
+1
-1
@@ -25,7 +25,7 @@ export async function generate(
|
||||
for (const { sha, ...commit } of data) {
|
||||
if (sha === tagRef) break paginator;
|
||||
|
||||
const message = commit.commit.message;
|
||||
const message = commit.commit.message.split("\n")[0];
|
||||
|
||||
let [, type, category, title, flag] = COMMIT_REGEX.exec(message) || [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user