-
-
Notifications
You must be signed in to change notification settings - Fork 313
Expand file tree
/
Copy path.releaserc
More file actions
42 lines (42 loc) · 1.28 KB
/
.releaserc
File metadata and controls
42 lines (42 loc) · 1.28 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
35
36
37
38
39
40
41
42
plugins: [
['@semantic-release/commit-analyzer', {
"preset": "conventionalcommits",
"releaseRules": [
{"type": "static", "release": "patch"},
{"type": "chore", "release": "patch"},
{"type": "ci", "release": "patch"},
{"type": "helm", "release": false},
{"type": "deploy", "release": "patch"}
]
}],
['@semantic-release/release-notes-generator', {
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "chore", "hidden": true},
{"type": "docs", "hidden": true},
{"type": "style", "hidden": true},
{"type": "refactor", "hidden": true},
{"type": "perf", "hidden": true},
{"type": "test", "hidden": true},
{"type": "static", "section": "Static Content"},
{"type": "helm", "hidden": true}
]
},
}],
['@semantic-release/exec', {
"prepareCmd": "scripts/release-prepare.sh ${nextRelease.version}"
}],
['@semantic-release/github', {
"successComment": false,
"failTitle": false
}]
]
branches: [
{"name": "master"},
{"name": "beta", "prerelease": "next"},
{"name": "preprod", "prerelease": "preprod"},
{"name": "prod", "prerelease": "prod"}
]