/
.releaserc.js
40 lines (40 loc) · 1.28 KB
/
.releaserc.js
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
module.exports = {
"branches": [
"master"
],
"repositoryUrl": "https://github.com/snicco/snicco.git",
"tagFormat": "v${version}",
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
}
}],
["@semantic-release/release-notes-generator", {
"preset": "angular",
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
},
"writerOpts": {
groupBy: 'type',
commitGroupsSort: 'title',
commitsSort: ['scope', 'subject'],
noteGroupsSort: 'title',
}
}],
["@semantic-release/exec", {
"prepareCmd": "./bin/prepare-composer.sh ${nextRelease.version}",
}],
"@semantic-release/changelog",
"@semantic-release/github",
["@semantic-release/git", {
"assets": [
"CHANGELOG.md",
"src/**/composer.json",
"monorepo-builder.php"
],
"message": "chore(monorepo): release v${nextRelease.version}"
}]
]
}