Skip to content

Commit

Permalink
ci(semantic-release): remove old "(build|chore|fix)(deps): *" release…
Browse files Browse the repository at this point in the history
… rule
  • Loading branch information
BinToss committed Nov 7, 2024
1 parent 58e65c1 commit 43d9308
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions release.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,6 @@ if (releaseRules instanceof String)
if (releaseRules === undefined || typeof releaseRules === 'string')
throw TypeError("it's supposed to be a string[] now");

// description: https://github.com/semantic-release/commit-analyzer#releaserules
// defaults: https://github.com/semantic-release/commit-analyzer/blob/master/lib/default-release-rules.js
releaseRules.push(
{
type: '(build|chore|fix)',
scope: 'deps',
release: 'patch',
}
)
commitAnalyzer[1].releaseRules = releaseRules;
// @ts-expect-error Index signature in type 'readonly PluginSpec<any>[]' only permits reading. ts(2542)
config.plugins[commitAnalyzerIndex] = commitAnalyzer;

Expand Down

0 comments on commit 43d9308

Please sign in to comment.