-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.yaml
47 lines (41 loc) · 1.2 KB
/
.releaserc.yaml
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
ci: true
debug: true
dryRun: false
branches:
- main
- release/**
plugins:
- ["@semantic-release/commit-analyzer", {
releaseRules: [
{"type": "docs", "scope": "README", "release": "patch"},
{"type": "refactor", "release": "patch"},
{"type": "refactor", "scope": "core-*", "release": "minor"},
{"type": "refactor", "release": "patch"},
{"scope": "no-release", "release": false}
]
}]
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- ["@semantic-release/npm", {
"pkgRoot": "dist",
}]
- "@semantic-release/git"
- "@semantic-release/github"
verifyConditions:
- "@semantic-release/npm"
- '@semantic-release/git'
- "@semantic-release/github"
prepare:
- path: "@semantic-release/changelog"
changelogFile: "CHANGELOG.md"
- path: "@semantic-release/npm"
- path: "@semantic-release/git"
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
assets: ['CHANGELOG.md', 'package.json', 'README.md']
publish:
- path: "@semantic-release/npm"
assets: ["dist/**", "README.md", "package.json"]
success:
- "@semantic-release/github"
fail:
- "@semantic-release/github"