From 45451c09c02645a6563b593f262196aee2f02173 Mon Sep 17 00:00:00 2001 From: Shreyas Sharma <72344404+Shreyas281299@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:05:39 +0530 Subject: [PATCH] fix(release): update-commit-analyzer-rules (#271) Co-authored-by: Shreyas Sharma --- packages/contact-center/station-login/release.config.js | 7 +++++++ packages/contact-center/store/release.config.js | 7 +++++++ packages/contact-center/user-state/release.config.js | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/packages/contact-center/station-login/release.config.js b/packages/contact-center/station-login/release.config.js index 9c9b5b0a..b0c844d9 100644 --- a/packages/contact-center/station-login/release.config.js +++ b/packages/contact-center/station-login/release.config.js @@ -33,4 +33,11 @@ module.exports = { '@semantic-release/github', ], tagFormat: '${version}', + commitAnalyzer: { + releaseRules: [ + {type: 'fix', release: 'patch'}, + {type: 'feat', release: 'patch'}, + {type: 'chore', release: 'patch'}, + ], + }, }; diff --git a/packages/contact-center/store/release.config.js b/packages/contact-center/store/release.config.js index 9c9b5b0a..b0c844d9 100644 --- a/packages/contact-center/store/release.config.js +++ b/packages/contact-center/store/release.config.js @@ -33,4 +33,11 @@ module.exports = { '@semantic-release/github', ], tagFormat: '${version}', + commitAnalyzer: { + releaseRules: [ + {type: 'fix', release: 'patch'}, + {type: 'feat', release: 'patch'}, + {type: 'chore', release: 'patch'}, + ], + }, }; diff --git a/packages/contact-center/user-state/release.config.js b/packages/contact-center/user-state/release.config.js index 9c9b5b0a..b0c844d9 100644 --- a/packages/contact-center/user-state/release.config.js +++ b/packages/contact-center/user-state/release.config.js @@ -33,4 +33,11 @@ module.exports = { '@semantic-release/github', ], tagFormat: '${version}', + commitAnalyzer: { + releaseRules: [ + {type: 'fix', release: 'patch'}, + {type: 'feat', release: 'patch'}, + {type: 'chore', release: 'patch'}, + ], + }, };