-
Notifications
You must be signed in to change notification settings - Fork 1
/
release.config.js
39 lines (39 loc) · 1.06 KB
/
release.config.js
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
module.exports = {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
'@semantic-release/npm', // root package.json
['@semantic-release/npm', { pkgRoot: 'extension' }],
['@semantic-release/npm', { pkgRoot: 'git-commit-parser' }],
'./semantic-release-rebuild-extension-plugin',
[
'@semantic-release/github',
{
assets: [
{
path: 'extension/vscode-commit-pro-extension-*.vsix',
label: 'VSCode Extension',
},
],
},
],
[
'@semantic-release/git',
{
message:
'build(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
assets: [
'CHANGELOG.md',
'package.json',
'package-lock.json',
'extension/package.json',
'extension/package-lock.json',
'git-commit-parser/package.json',
'git-commit-parser/package-lock.json',
],
},
],
],
branches: [{ name: 'main' }],
}