We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1750f8b commit eaf3d55Copy full SHA for eaf3d55
branch-diff.js
@@ -12,6 +12,7 @@ import pkgtoId from 'pkg-to-id'
12
import minimist from 'minimist'
13
import { isReleaseCommit } from 'changelog-maker/groups'
14
import { processCommits } from 'changelog-maker/process-commits'
15
+import { collectCommitLabels } from 'changelog-maker/collect-commit-labels'
16
import gitexec from 'gitexec'
17
18
const pipeline = promisify(_pipeline)
@@ -74,6 +75,8 @@ async function diffCollected (options, branchCommits) {
74
75
76
let list = branchCommits[1].filter((commit) => !isInList(commit))
77
78
+ await collectCommitLabels(list)
79
+
80
if (options.excludeLabels.length > 0) {
81
list = list.filter((commit) => {
82
return !commit.labels || !commit.labels.some((label) => {
0 commit comments