Skip to content

Commit eaf3d55

Browse files
committed
restore label filtering
1 parent 1750f8b commit eaf3d55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

branch-diff.js

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import pkgtoId from 'pkg-to-id'
1212
import minimist from 'minimist'
1313
import { isReleaseCommit } from 'changelog-maker/groups'
1414
import { processCommits } from 'changelog-maker/process-commits'
15+
import { collectCommitLabels } from 'changelog-maker/collect-commit-labels'
1516
import gitexec from 'gitexec'
1617

1718
const pipeline = promisify(_pipeline)
@@ -74,6 +75,8 @@ async function diffCollected (options, branchCommits) {
7475

7576
let list = branchCommits[1].filter((commit) => !isInList(commit))
7677

78+
await collectCommitLabels(list)
79+
7780
if (options.excludeLabels.length > 0) {
7881
list = list.filter((commit) => {
7982
return !commit.labels || !commit.labels.some((label) => {

0 commit comments

Comments
 (0)