-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease.config.js
35 lines (35 loc) · 1020 Bytes
/
release.config.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
module.exports = {
branches: [{ name: 'main' }],
plugins: [
[
'@semantic-release/release-notes-generator', // Generates release notes for the commits included in the release
{
preset: 'conventionalcommits',
presetConfig: {
types: [
{ type: 'feat', section: 'New Features' },
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'update', section: 'Other Updates', hidden: false },
{
type: 'perf',
section: 'Performance Improvements',
hidden: false,
},
{ type: 'chore', hidden: true },
{ type: 'docs', hidden: true },
{ type: 'style', hidden: true },
{ type: 'refactor', hidden: true },
{ type: 'test', hidden: true },
{ type: 'ci', hidden: true },
{ type: 'revert', hidden: true },
{ type: 'build', hidden: false },
],
},
parserOpts: {
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING'],
},
},
],
'@semantic-release/github', // Creates a GitHub release
],
};