-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy path.releaserc.json
More file actions
39 lines (39 loc) · 1.52 KB
/
.releaserc.json
File metadata and controls
39 lines (39 loc) · 1.52 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
{
"branches": ["main"],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "revert", "release": "patch" },
{ "type": "docs", "release": false },
{ "type": "chore", "release": false },
{ "type": "refactor", "release": false },
{ "type": "test", "release": false },
{ "type": "build", "release": false },
{ "type": "ci", "release": false },
{ "breaking": true, "release": "major" }
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"prepareCmd": "sed -i 's/^__version__ = \".*\"/__version__ = \"${nextRelease.version}\"/' installer/__init__.py launcher/__init__.py && sed -i 's/export VERSION=[0-9.]*/export VERSION=${nextRelease.version}/g' README.md && sed -i 's/\"version\": \"[0-9.]*\"/\"version\": \"${nextRelease.version}\"/' console/package.json pilot/package.json pilot/plugin.json"
}
],
[
"@semantic-release/git",
{
"assets": ["installer/__init__.py", "launcher/__init__.py", "README.md", "CHANGELOG.md", "console/package.json", "pilot/package.json", "pilot/plugin.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}