Skip to content

Commit 49a8411

Browse files
committed
ci: update asset glob pattern to publish packaged extension with each release
1 parent bf9356e commit 49a8411

File tree

1 file changed

+47
-49
lines changed

1 file changed

+47
-49
lines changed

.releaserc.json

Lines changed: 47 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,51 @@
11
{
2-
"branches": [
3-
"main"
2+
"branches": ["main"],
3+
"debug": "true",
4+
"plugins": [
5+
"@semantic-release/commit-analyzer",
6+
"@semantic-release/release-notes-generator",
7+
[
8+
"@semantic-release/changelog",
9+
{
10+
"changelogFile": "CHANGELOG.md"
11+
}
412
],
5-
"debug": "true",
6-
"plugins": [
7-
"@semantic-release/commit-analyzer",
8-
"@semantic-release/release-notes-generator",
9-
[
10-
"@semantic-release/changelog",
11-
{
12-
"changelogFile": "CHANGELOG.md"
13-
}
14-
],
15-
[
16-
"@semantic-release/npm",
17-
{
18-
"npmPublish": false
19-
}
20-
],
21-
[
22-
"@semantic-release/exec",
23-
{
24-
"publishCmd": "npx vsce publish --no-git-tag-version ${nextRelease.version}"
25-
}
26-
],
27-
[
28-
"@semantic-release/git",
29-
{
30-
"assets": [
31-
"package.json",
32-
"CHANGELOG.md",
33-
"syntaxes/ccini.tmLanguage.json"
34-
]
35-
}
36-
],
37-
[
38-
"@semantic-release/github",
39-
{
40-
"assets": [
41-
{
42-
"path": "cortex-command-community-project-language-support-${nextRelease.version}.vsix"
43-
}
44-
],
45-
"successComment": false,
46-
"failComment": false,
47-
"failTitle": false,
48-
"releasedLabels": false,
49-
"labels": false
50-
}
13+
[
14+
"@semantic-release/npm",
15+
{
16+
"npmPublish": false
17+
}
18+
],
19+
[
20+
"@semantic-release/exec",
21+
{
22+
"publishCmd": "npx vsce publish --no-git-tag-version ${nextRelease.version}"
23+
}
24+
],
25+
[
26+
"@semantic-release/git",
27+
{
28+
"assets": [
29+
"package.json",
30+
"CHANGELOG.md",
31+
"syntaxes/ccini.tmLanguage.json"
5132
]
33+
}
34+
],
35+
[
36+
"@semantic-release/github",
37+
{
38+
"assets": [
39+
{
40+
"path": "cortex-command-community-project-language-support-*.vsix"
41+
}
42+
],
43+
"successComment": false,
44+
"failComment": false,
45+
"failTitle": false,
46+
"releasedLabels": false,
47+
"labels": false
48+
}
5249
]
53-
}
50+
]
51+
}

0 commit comments

Comments
 (0)