From 7d0a617c3f74706ee8c216e85540458812f26893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Vannicatte?= Date: Tue, 10 Jan 2023 11:39:34 +0100 Subject: [PATCH] chore: allow release for chore commits --- ship.config.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ship.config.js b/ship.config.js index 1477b27d..17faace4 100644 --- a/ship.config.js +++ b/ship.config.js @@ -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; - }, };