1
0
Fork 0

chore: allow release for chore commits

This commit is contained in:
Clément Vannicatte 2023-01-10 11:39:34 +01:00
parent c867c8b649
commit 7d0a617c3f

View file

@ -33,14 +33,4 @@ module.exports = {
`export const version = '${version}';\n`
);
},
// Skip preparation if it contains only `chore` commits
shouldPrepare: ({ releaseType, commitNumbersPerType }) => {
const { fix = 0 } = commitNumbersPerType;
if (releaseType === 'patch' && fix === 0) {
return false;
}
return true;
},
};