-
Notifications
You must be signed in to change notification settings - Fork 5
/
release.config.cjs
45 lines (45 loc) · 1.18 KB
/
release.config.cjs
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
45
/**
* @type {import('semantic-release').GlobalConfig}
*/
module.exports = {
branches: ['master'],
plugins: [
[
'@semantic-release/commit-analyzer',
{
releaseRules: [
{ type: 'docs', release: 'patch' },
{ type: 'style', release: 'patch' },
{ type: 'refactor', release: 'patch' },
{ type: 'perf', release: 'patch' },
{ type: 'test', release: 'patch' },
{ type: 'build', release: 'patch' },
{ type: 'ci', release: 'patch' },
{ type: 'chore', release: 'patch' },
],
},
],
['@semantic-release/release-notes-generator'],
[
'@semantic-release/changelog',
{
changelogTitle:
'# Changelog\n\nAll notable changes to this project will be documented in this file. See [Conventional Commits](https://www.conventionalcommits.org) for commit guidelines.\n\n',
changelogFile: 'CHANGELOG.md',
},
],
[
'@semantic-release/npm',
{
npmPublish: false,
},
],
[
'@semantic-release/git',
{
assets: ['package.json', 'CHANGELOG.md'],
},
],
'@semantic-release/github',
],
};