-
Notifications
You must be signed in to change notification settings - Fork 21
/
.releaserc
33 lines (33 loc) · 969 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
{
"branches": ["version-14", "version-15"],
"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"}
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec", {
"prepareCmd": 'sed -ir -E "s/\"[0-9]+\.[0-9]+\.[0-9]+\"/\"${nextRelease.version}\"/" erpnext_germany/__init__.py'
}
],
[
"@semantic-release/git", {
"assets": ["erpnext_germany/__init__.py"],
"message": "chore(release): Bumped to Version ${nextRelease.version}\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}