-
Notifications
You must be signed in to change notification settings - Fork 6
/
.releaserc
34 lines (34 loc) · 976 Bytes
/
.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
{
"branches": ["version-14"],
"plugins": [
[
"@semantic-release/commit-analyzer", {
"releaseRules": [
{"breaking": true, "release": "minor"},
{"revert": true, "release": "patch"},
{"type": "feat", "release": "minor"},
{"type": "patch", "release": "minor"},
{"type": "fix", "release": "patch"},
{"type": "perf", "release": "patch"},
{"type": "refactor", "release": "patch"},
{"type": "docs", "release": "patch"},
{"type": "chore", "release": "patch"},
{"type": "ci", "release": "patch"}
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec", {
"prepareCmd": 'sed -ir -E "s/\"[0-9]+\.[0-9]+\.[0-9]+\"/\"${nextRelease.version}\"/" landa/__init__.py'
}
],
[
"@semantic-release/git", {
"assets": ["landa/__init__.py"],
"message": "chore(release): Bumped to Version ${nextRelease.version}\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}