-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.releaserc
42 lines (42 loc) · 1.37 KB
/
.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
35
36
37
38
39
40
41
42
{
"branch": "main",
"branches": [ "main" ],
"plugins": [
["@semantic-release/commit-analyzer",
{
"releaseRules": [
{ "type": "major", "release": "major" },
{ "type": "breaking", "release": "major" },
{ "type": "minor", "release": "minor" },
{ "type": "feat", "release": "minor" },
{ "type": "patch", "release": "patch" },
{ "type": "fix", "release": "patch" },
{ "type": "chore", "release": "patch" },
{ "type": "no-release", "release": false }
],
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
}
}
],
"@semantic-release/release-notes-generator",
["@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
["@semantic-release/exec", {
"prepareCmd": "mv dist efcasado-splunk-datasource; tar -czvf efcasado-splunk-datasource-${nextRelease.version}.tar.gz efcasado-splunk-datasource"
}],
["@semantic-release/git",
{
"assets": ["CHANGELOG.md"]
}
],
["@semantic-release/github",
{
"assets": ["efcasado-splunk-datasource-*.tar.gz"]
}
]
]
}