We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83029dd commit 19a862cCopy full SHA for 19a862c
src/commands/default.ts
@@ -41,11 +41,13 @@ export default async function defaultMain(args: Argv) {
41
const rawCommits = await getGitDiff(config.from, config.to);
42
43
// Parse commits as conventional commits
44
- const commits = parseCommits(rawCommits, config).filter(
45
- (c) =>
46
- config.types[c.type] &&
47
- !(c.type === "chore" && c.scope === "deps" && !c.isBreaking)
48
- );
+ const commits = parseCommits(rawCommits, config)
+ .map((c) => ({ ...c, type: c.type.toLowerCase() /* #198 */ }))
+ .filter(
+ (c) =>
+ config.types[c.type] &&
49
+ !(c.type === "chore" && c.scope === "deps" && !c.isBreaking)
50
+ );
51
52
// Shortcut for canary releases
53
if (args.canary) {
0 commit comments