forked from tuannvm/slack-mcp-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease.config.js
More file actions
34 lines (34 loc) · 1.27 KB
/
release.config.js
File metadata and controls
34 lines (34 loc) · 1.27 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
31
32
33
34
module.exports = {
branches: ['main'],
plugins: [
[
'@semantic-release/commit-analyzer',
{
preset: 'angular',
releaseRules: [
// Keep conventional commit standard rules first
{ type: 'feat', release: 'minor' },
{ type: 'fix', release: 'patch' },
{ type: 'perf', release: 'patch' },
{ type: 'docs', scope: 'README', release: 'patch' },
{ type: 'refactor', release: 'patch' },
{ type: 'chore', scope: 'deps', release: 'patch' },
// Consider any changes to Go files as a patch release (fallback)
{ files: ['**/*.go'], release: 'patch' },
{ type: 'release', release: 'patch' }
]
}
],
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
'@semantic-release/github',
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md', 'package.json'],
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
],
preset: 'angular',
};