-
Notifications
You must be signed in to change notification settings - Fork 3
/
.releaserc.json
45 lines (45 loc) · 1.49 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
45
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "HISTORY.md"
}
],
[
"semantic-release-replace-plugin",
{
"replacements": [
{
"files": ["apiclient/apiclient.go"],
"from": "\"\\d+\\.\\d+\\.\\d+\"",
"to": "\"${nextRelease.version}\"",
"countMatches": true
},
{
"files": ["./**/*.go", "go.mod"],
"from": "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v\\d+",
"to": "github.com/centralnicgroup-opensource/rtldev-middleware-go-sdk/v${nextRelease.version.split('.')[0]}",
"ignore": ["./node_modules/**", "./rtldev-middleware-dnscontrol/**"],
"countMatches": true
}
]
}
],
[
"@semantic-release/git",
{
"assets": [
"HISTORY.md",
"package.json",
"package-lock.json",
"apiclient/apiclient.go"
]
}
],
"semantic-release-teams-notify-plugin",
"@semantic-release/github"
]
}