-
Notifications
You must be signed in to change notification settings - Fork 787
Expand file tree
/
Copy path.releaserc.json
More file actions
25 lines (25 loc) · 942 Bytes
/
.releaserc.json
File metadata and controls
25 lines (25 loc) · 942 Bytes
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
{
"branches": ["main"],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "revert", "release": "patch" },
{ "type": "docs", "release": "patch" },
{ "type": "refactor", "release": "patch" },
{ "scope": "no-release", "release": false }
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits"
}],
"@semantic-release/changelog",
["@semantic-release/exec", {
"prepareCmd": "python3 -c \"import re; content=open('charts/n8n/Chart.yaml').read(); open('charts/n8n/Chart.yaml','w').write(re.sub(r'^version:.*', 'version: ${nextRelease.version}', content, flags=re.MULTILINE))\""
}],
"@semantic-release/github"
]
}