-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.releaserc
53 lines (53 loc) · 1.5 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
43
44
45
46
47
48
49
50
51
52
53
{
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "feat", "section": "Added" },
{ "type": "fix", "section": "Fixed" },
{ "type": "docs", "section": "Documentation", "hidden": true },
{ "type": "style", "section": "Styles", "hidden": true },
{ "type": "refactor", "section": "Refactored", "hidden": true },
{ "type": "perf", "section": "Performance", "hidden": true },
{ "type": "test", "section": "Tests", "hidden": true },
{ "type": "chore", "section": "Chore", "hidden": true },
{ "type": "ci", "section": "Chore", "hidden": true },
{ "type": "breaking", "section": "Breaking changes" }
]
}
}
],
[
"@semantic-release/changelog",
{
"changelogTitle": "# Serve Secret Changelog"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "./_ci/update-composer-version.sh ${nextRelease.version} && node ./_ci/update-changelog.js"
}
],
[
"@semantic-release/git",
{
"assets": [
"composer.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\\n\\n${nextRelease.notes}"
}
],
[
"@semantic-release/github"
]
]
}