Skip to content

Commit 8a01d2e

Browse files
nicolethoenfhlavac
authored andcommitted
fix: Update release.config.js
1 parent 43fc6df commit 8a01d2e

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

packages/module/release.config.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,13 @@ module.exports = {
22
branches: [
33
'do-not-delete',
44
{ name: 'main', channel: 'prerelease', prerelease: 'prerelease' },
5-
{ name: 'v5', channel: 'prerelease-v5' }
5+
{ name: 'v5', channel: 'prerelease-v5', range: '5.x' }
66
],
77
analyzeCommits: {
88
preset: 'angular'
99
},
1010
plugins: [
11-
[
12-
'@semantic-release/commit-analyzer',
13-
{
14-
'preset': 'angular',
15-
'releaseRules': [
16-
{ 'type': 'fix', 'release': 'patch' },
17-
{ 'type': 'docs', 'release': 'patch' },
18-
{ 'type': 'refactor', 'release': 'patch' },
19-
{ 'type': 'chore', 'release': 'patch' },
20-
{ 'type': 'style', 'release': 'patch' },
21-
{ 'type': 'feat', 'release': 'patch' },
22-
{ 'type': 'perf', 'release': 'patch' }
23-
]
24-
}
25-
],
11+
'@semantic-release/commit-analyzer',
2612
'@semantic-release/release-notes-generator',
2713
'@semantic-release/github',
2814
'@semantic-release/npm'

0 commit comments

Comments
 (0)