-
-
Notifications
You must be signed in to change notification settings - Fork 885
Expand file tree
/
Copy pathrelease.config.js
More file actions
30 lines (30 loc) · 1.04 KB
/
Copy pathrelease.config.js
File metadata and controls
30 lines (30 loc) · 1.04 KB
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
module.exports = {
plugins: [
['@semantic-release/commit-analyzer', {
'preset': 'angular',
// having version increments and builds for these commit types is valuable
'releaseRules': [
{'type': 'perf', 'release': 'patch'},
{'type': 'docs', 'release': 'patch'},
{'type': 'style', 'release': 'patch'},
{'type': 'refactor', 'release': 'patch'},
{'type': 'test', 'release': 'patch'},
{'type': 'chore', 'release': 'patch'},
{'type': 'ci', 'release': 'patch'},
],
}],
'@semantic-release/release-notes-generator',
['@semantic-release/changelog', {
'changelogFile': 'changelog.md',
}],
['@semantic-release/git', {
'assets': [
'changelog.md',
'appcast.xml',
'README.md',
'docs/readme/main.svg',
'docs/contributors.md',
],
}],
],
}