-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.releaserc.json
More file actions
56 lines (56 loc) · 1.73 KB
/
Copy path.releaserc.json
File metadata and controls
56 lines (56 loc) · 1.73 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"branches": ["main"],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{ "type": "bump", "release": "minor" },
{ "type": "feat", "release": "patch" },
{ "type": "fix", "release": "patch" },
{ "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" },
{ "type": "revert", "release": "patch" },
{ "type": "patch", "release": "patch" },
{ "type": "deps", "release": "patch" }
],
"parserOpts": {
"headerPattern": "^(\\w+):\\s(:\\w+:)\\s(.+?)(?:\\s\\(#\\d+\\))?$",
"headerCorrespondence": ["type", "gitmoji", "subject"],
"mergePattern": "^Merge pull request #(\\d+) from (.*)$",
"mergeCorrespondence": ["id", "source"]
}
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"semantic-release-github-pullrequest",
{
"assets": ["package.json", "CHANGELOG.md"],
"pullrequestTitle": "chore: :bookmark: Release ${nextRelease.version}",
"pullrequestDescription": "${nextRelease.notes}",
"branch": "release/${nextRelease.version}"
}
],
"@semantic-release/github"
]
}