-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.yaml
54 lines (53 loc) · 1.65 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
48
49
50
51
52
53
54
branches: ["main"]
dryRun: false
plugins:
- [ "@semantic-release/commit-analyzer", {
parserOpts: {
noteKeywords: [ "BREAKING CHANGE", "BREAKING CHANGES", "BREAKING" ],
},
preset: "angular",
releaseRules: [
{ type: "chore", scope: "conf", release: "patch" },
{ type: "chore", scope: "config", release: "patch" },
{ type: "chore", scope: "core", release: "minor" },
{ type: "chore", scope: "deps", release: "patch" }
]
}
]
- [ "@semantic-release/release-notes-generator", {
parserOpts: {
noteKeywords: [ "BREAKING CHANGE", "BREAKING CHANGES", "BREAKING" ],
},
preset: "conventionalcommits",
presetConfig: {
types: [
{ type: "chore", scope: "deps", section: "Dependency Updates" },
{ type: "chore", section: "Refactors" },
{ type: "docs", hidden: true },
{ type: "feat", section: "Features" },
{ type: "fix", section: "Bug Fixes" },
{ type: "perf", hidden: true },
{ type: "refactor", section: "Refactors" },
{ type: "style", hidden: true },
{ type: "test", hidden: true }
]
},
writerOpts: {
commitsSort: [ "subject", "scope" ],
}
}
]
- [ "@semantic-release/changelog",
changelogFile: "docs/CHANGELOG.md"
]
- [ "@semantic-release/git", {
assets: [ "docs/*" ],
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
- ["@semantic-release/github",
assets: [
{path: "dist/idr_client", label: IDR Client Binary}
]
]
tagFormat: v${version}