-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.js
44 lines (44 loc) · 1.4 KB
/
.releaserc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
module.exports = {
branches: ['main'],
plugins: [
['@semantic-release/commit-analyzer', {
preset: 'angular',
releaseRules: [
{type: 'increment', release: 'patch'},
{type: 'Increment', release: 'patch'},
{type: 'feat', release: 'patch'},
{type: 'Feat', release: 'patch'},
{type: 'fix', release: 'patch'},
{type: 'Fix', release: 'patch'},
{type: 'docs', release: 'patch'},
{type: 'Docs', release: 'patch'},
{type: 'Patch', release: 'patch'},
{type: 'style', release: 'patch'},
{type: 'refactor', release: 'patch'},
{type: 'perf', release: 'patch'},
{type: 'test', release: 'patch'},
{type: 'build', release: 'minor'},
{type: 'ci', release: 'patch'},
{type: 'revert', release: 'patch'},
],
}],
['@semantic-release/release-notes-generator', {
preset: 'conventionalcommits',
writerOpts: {
commitsSort: ['subject', 'scope'],
},
}],
['@semantic-release/changelog', {
changelogFile: 'CHANGELOG.md',
}],
['@semantic-release/npm', {}],
["@semantic-release/exec", {
"prepare": "node prepare_docs.js"
}],
['@semantic-release/github', {
assets: [
{path: 'CHANGELOG.md', label: 'Changelog'},
],
}],
],
};