-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.releaserc
33 lines (33 loc) · 932 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
{
"branches": [
{
"name": "main"
},
{
"name": "next",
"channel": "next",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"prepareCmd": "SEELF_VERSION=${nextRelease.version} make prepare-release && sh -c \"if [ ${branch.name} = 'next' ]; then echo 'docker_tags=yuukanoo/seelf:next'; else echo 'docker_tags=yuukanoo/seelf:${nextRelease.version},yuukanoo/seelf:latest'; fi\" >> \"$GITHUB_ENV\"",
"publishCmd": "echo \"docker_publish=true\" >> \"$GITHUB_ENV\""
}
],
[
"@semantic-release/git",
{
"assets": [
"cmd/version/version.go"
],
"message": "chore(release): bump version to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}