forked from spaceship-prompt/spaceship-prompt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.json
33 lines (33 loc) · 886 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
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/changelog",
["semantic-release-license", {
"license": {
"path": "LICENSE.md"
}
}],
["@google/semantic-release-replace-plugin", {
"replacements": [{
"files": ["spaceship.zsh"],
"from": "export SPACESHIP_VERSION='.*'",
"to": "export SPACESHIP_VERSION='${nextRelease.version}'",
"results": [
{
"file": "spaceship.zsh",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}]
}],
["@semantic-release/git", {
"assets": ["package.json", "spaceship.zsh","CHANGELOG.md", "LICENSE.md"]
}]
]
}