-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.releaserc.json
More file actions
53 lines (53 loc) · 1006 Bytes
/
Copy path.releaserc.json
File metadata and controls
53 lines (53 loc) · 1006 Bytes
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
46
47
48
49
50
51
52
53
{
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"master",
{ "name": "1.x", "range": "1.x.x", "channel": "1.x.x" },
{
"name": "next",
"prerelease": true
},
{
"name": "next-major",
"prerelease": "major"
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"semantic-release-major-tag",
{
"customTags": ["v${major}", "v${major}.${minor}", "v${major}.x", "v${major}.{minor}.x"]
}
],
[
"@semantic-release/git",
{
"assets": [
"src/**/*.{js,cjs,ts}",
"dist",
"package.json",
"pnpm-lock.yaml",
"CHANGELOG.md",
"jest.config.ts",
"commitlint.config.js",
"lint-staged.config.js"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "dist/index.js"
}
],
"addReleases": "bottom"
}
]
]
}