-
Notifications
You must be signed in to change notification settings - Fork 25
/
.releaserc.json
37 lines (36 loc) · 1.02 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
{
"branches": [
"main",
"next"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "chore",
"release": "patch"
}
]
}
],
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/exec",
{
"prepareCmd": "docker build -t vprodemo.azurecr.io/mps:v${nextRelease.version} . && docker tag vprodemo.azurecr.io/mps:v${nextRelease.version} docker.io/intel/oact-mps:latest && docker tag vprodemo.azurecr.io/mps:v${nextRelease.version} docker.io/intel/oact-mps:v${nextRelease.version}",
"publishCmd": "docker push vprodemo.azurecr.io/mps:v${nextRelease.version} && docker push docker.io/intel/oact-mps:latest && docker push docker.io/intel/oact-mps:v${nextRelease.version}"
}
],
"@semantic-release/git"
]
}