Skip to content

Commit

Permalink
build(release): add rule for dependencies update releases
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 committed Nov 24, 2023
1 parent 12bc786 commit 5dcf7b8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,18 @@ module.exports = {
},
],
},
releaseRules: [
{
// Commit type depends on preset
// https://github.com/semantic-release/commit-analyzer/blob/v11.1.0/README.md#specific-commit-properties
// https://github.com/conventional-changelog/conventional-changelog/tree/conventional-commits-parser-v5.0.0/packages/conventional-commits-parser#usage
// https://github.com/conventional-changelog/conventional-changelog/tree/conventional-changelog-conventionalcommits-v7.0.2/packages/conventional-changelog-conventionalcommits
type: 'chore',
scope: 'release',
subject: '*dependencies*',
release: 'patch',
},
],
writerOpts: {
//👇 Add library name in release notes
// https://github.com/conventional-changelog/conventional-changelog/tree/conventional-changelog-writer-v7.0.1/packages/conventional-changelog-writer#finalizecontext
Expand Down

0 comments on commit 5dcf7b8

Please sign in to comment.