-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.releaserc.json
44 lines (44 loc) · 1.06 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
{
"branches": [
{
"name": "main"
},
{
"name": "beta",
"prerelease": "beta"
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/github",
{
"assets": [
{
"path": "dist/linux/console_linux_x64.tar.gz",
"label": "Linux x64 Console Executable"
},
{
"path": "dist/windows/console_windows_x64.exe",
"label": "Windows x64 Console Executable"
},
{
"path": "dist/darwin/console_mac_arm64.tar.gz",
"label": "Mac arm64 Console Executable"
}
]
}
],
"@semantic-release/github",
[
"@semantic-release/exec",
{
"prepareCmd": "./build.sh ${nextRelease.version} ",
"publishCmd": "docker push vprodemo.azurecr.io/console:v${nextRelease.version}",
"verifyReleaseCmd": "echo v${nextRelease.version} > .nextVersion"
}
]
]
}