File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import pkgtoId from 'pkg-to-id'
12
12
import minimist from 'minimist'
13
13
import { isReleaseCommit } from 'changelog-maker/groups'
14
14
import { processCommits } from 'changelog-maker/process-commits'
15
+ import { collectCommitLabels } from 'changelog-maker/collect-commit-labels'
15
16
import gitexec from 'gitexec'
16
17
17
18
const pipeline = promisify ( _pipeline )
@@ -74,6 +75,8 @@ async function diffCollected (options, branchCommits) {
74
75
75
76
let list = branchCommits [ 1 ] . filter ( ( commit ) => ! isInList ( commit ) )
76
77
78
+ await collectCommitLabels ( list )
79
+
77
80
if ( options . excludeLabels . length > 0 ) {
78
81
list = list . filter ( ( commit ) => {
79
82
return ! commit . labels || ! commit . labels . some ( ( label ) => {
@@ -157,6 +160,7 @@ async function main () {
157
160
list = list . filter ( ( commit ) => ! isReleaseCommit ( commit . summary ) )
158
161
}
159
162
163
+
160
164
await processCommits ( argv , ghId , list )
161
165
}
162
166
You can’t perform that action at this time.
0 commit comments