Skip to content

Commit 5dcf7b8

Browse files
committed
build(release): add rule for dependencies update releases
1 parent 12bc786 commit 5dcf7b8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.releaserc.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,18 @@ module.exports = {
7070
},
7171
],
7272
},
73+
releaseRules: [
74+
{
75+
// Commit type depends on preset
76+
// https://github.com/semantic-release/commit-analyzer/blob/v11.1.0/README.md#specific-commit-properties
77+
// https://github.com/conventional-changelog/conventional-changelog/tree/conventional-commits-parser-v5.0.0/packages/conventional-commits-parser#usage
78+
// https://github.com/conventional-changelog/conventional-changelog/tree/conventional-changelog-conventionalcommits-v7.0.2/packages/conventional-changelog-conventionalcommits
79+
type: 'chore',
80+
scope: 'release',
81+
subject: '*dependencies*',
82+
release: 'patch',
83+
},
84+
],
7385
writerOpts: {
7486
//👇 Add library name in release notes
7587
// https://github.com/conventional-changelog/conventional-changelog/tree/conventional-changelog-writer-v7.0.1/packages/conventional-changelog-writer#finalizecontext

0 commit comments

Comments
 (0)