forked from tochka-public/Tochka.JsonRpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.releaserc.json
41 lines (41 loc) · 924 Bytes
/
.releaserc.json
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
{
"branches": [
{"name": "master"},
{"name": "beta", "prerelease": true}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{"release": "patch"}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md"]
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "echo ${nextRelease.version}",
"successCmd": "echo ${nextRelease.version} > VERSION && echo ${nextRelease.version.replace(/\\.\\d+\\.\\d+$/, '')} > MAJOR_VERSION && echo ${nextRelease.version.replace(/\\.\\d+$/, '')} > MINOR_VERSION"
}
] ]
}