Skip to content

Commit be68bae

Browse files
nicolethoenfhlavac
authored andcommitted
fix: try removing range and force only patches instead
1 parent 93a01d5 commit be68bae

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

packages/module/release.config.js

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,31 @@ module.exports = {
22
branches: [
33
'do-not-delete',
44
{ name: 'main', channel: 'prerelease', prerelease: 'prerelease' },
5-
{ name: 'v5', channel: 'prerelease-v5', range: '5.x' }
5+
{ name: 'v5', channel: 'prerelease-v5' }
66
],
77
analyzeCommits: {
88
preset: 'angular'
99
},
1010
plugins: [
11-
'@semantic-release/commit-analyzer',
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+
],
1226
'@semantic-release/release-notes-generator',
1327
'@semantic-release/github',
1428
'@semantic-release/npm'
1529
],
16-
tagFormat: 'v${version}',
30+
tagFormat: 'prerelease-v${version}',
1731
dryRun: true
1832
};

0 commit comments

Comments
 (0)