-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc
35 lines (35 loc) · 938 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
34
35
{
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/exec",
{
"prepareCmd": "sed -i 's/VERSION=\"[^\"]*\"/VERSION=\"'${nextRelease.version}'\"/' install.sh && sed -i 's/VERSION=\"[^\"]*\"/VERSION=\"'${nextRelease.version}'\"/' mu.sh && sed -i 's|\\(https://raw.githubusercontent.com/andrewscwei/mu/v\\)[^\"/]*\\(/install.sh\\)|\\1'${nextRelease.version}'\\2|' README.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"install.sh",
"mu.sh",
"CHANGELOG.md",
"README.md"
],
"message": "chore: Release `v${nextRelease.version}` [skip ci]"
}
],
[
"@semantic-release/github",
{
"successComment": false,
"failComment": false
}
]
]
}