-
Notifications
You must be signed in to change notification settings - Fork 3
/
.releaserc
35 lines (35 loc) · 901 Bytes
/
.releaserc
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
{
"plugins": [
["@semantic-release/commit-analyzer", { "preset": "conventionalcommits" }],
["@semantic-release/release-notes-generator"],
["@semantic-release/changelog",{
"changelogFile": "docs/CHANGELOG.md"
}],
["@semantic-release/npm", {
"npmPublish": false,
"tarballDir": "dist/libs"
}],
["@semantic-release/exec", {
"prepareCmd": "npm run release:prepare",
"publishCmd": "./scripts/npm-publish ${nextRelease.channel}"
}],
["@semantic-release/git", {
"message": "ci(release): ${nextRelease.version} [skip ci]",
"assets": [
"docs/CHANGELOG.md",
"package.json",
"package-lock.json"
]
}],
["@semantic-release/github", {
"assets": ["dist/libs/*.tgz"]
}]
],
"branches": [{
"name": "beta",
"prerelease": true,
"channel": "next"
},{
"name": "main"
}]
}