generated from Crambor/semrel-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc
51 lines (51 loc) · 1.71 KB
/
.releaserc
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
46
47
48
49
50
51
{
"branches": ["main"],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
"releaseRules": [
{"type": "refactor", "release": "patch"},
{"type": "style", "release": "patch"},
{"type": "chore", "release": "patch"},
{"type": "fix", "release": "patch"},
{"type": "feat", "release": "minor"},
{"type": "feature", "release": "minor"},
{"type": "BREAKING", "release": "major"},
{"type": "build", "release": false},
{"type": "docs", "release": false},
{"type": "test", "release": false},
{"type": "perf", "release": false},
{"type": "ci", "release": false},
]
}],
["@semantic-release/release-notes-generator", {
"config": "conventional-changelog-conventionalcommits",
"presetConfig": {
"types": [
{"type": "refactor", "section": "Minor Changes"},
{"type": "style", "section": "Minor Changes"},
{"type": "chore", "section": "Minor Changes"},
{"type": "fix", "section": "Minor Changes"},
{"type": "feat", "section": "Features"},
{"type": "feature", "section": "Features"},
{"type": "BREAKING", "section": "Major Changes"},
{"type": "build", "hidden": true},
{"type": "docs", "hidden": true},
{"type": "perf", "hidden": true},
{"type": "test", "hidden": true},
{"type": "ci", "hidden": true},
]}
}],
[
"@semantic-release/changelog",
{
changelogFile: "CHANGELOG.md"
}
],
"@semantic-release/github",
["@semantic-release/git", {
"assets": ["*"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}]
]
}