Skip to content

Commit 268800b

Browse files
committed
fix: ensure git signatures are not present
Currently an empty changeset is produced if the git configuration has `log.showSignature` set to `true`. This change ensures we set it to `false` to allow commit header parsing to function correctly. Further information can be found in - conventional-changelog/conventional-changelog#213 - conventional-changelog/conventional-changelog#671 Signed-off-by: Adam Moss <[email protected]>
1 parent 7fbc106 commit 268800b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lifecycles/changelog.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function outputChangelog (args, newVersion) {
3535
debug: args.verbose && console.info.bind(console, 'conventional-changelog'),
3636
preset: presetLoader(args),
3737
tagPrefix: args.tagPrefix
38-
}, context, { merges: null, path: args.path }, args.parserOpts, args.writerOpts)
38+
}, context, { merges: null, path: args.path, showSignature: false }, args.parserOpts, args.writerOpts)
3939
.on('error', function (err) {
4040
return reject(err)
4141
})

0 commit comments

Comments
 (0)