Skip to content

Commit cb47e13

Browse files
author
Christopher - Marcel Böddecker
committed
fix(templates): remove release commits from changelog/release note
1 parent 7efda24 commit cb47e13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/steps/cd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ steps:
141141
commit.body = prefix + commit.body.split('\n').join('\n' + prefix)
142142
}
143143
})
144+
group.commits = group.commits.filter(commit => !(commit.type == 'Miscellaneous Chores' && commit.scope == 'release'))
144145
})
146+
context.commitGroups = context.commitGroups.filter(group => group.commits.length > 0)
145147
return context
146148
},
147149
mainTemplate: `

0 commit comments

Comments
 (0)