Skip to content

Commit 8b703d4

Browse files
committed
ci: remove publish npm command and hardcode in release config
1 parent 58acc67 commit 8b703d4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[
1717
"@semantic-release/exec",
1818
{
19-
"publishCmd": "npm publish -- ${nextRelease.version}"
19+
"publishCmd": "npx vsce publish ${nextRelease.version}"
2020
}
2121
],
2222
[

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"scripts": {
5353
"prepare": "husky install",
5454
"semantic-release": "semantic-release",
55-
"build": "npx js-yaml syntaxes/ccini.tmLanguage.yaml > syntaxes/ccini.tmLanguage.json",
56-
"publish": "vsce publish"
55+
"build": "npx js-yaml syntaxes/ccini.tmLanguage.yaml > syntaxes/ccini.tmLanguage.json"
5756
}
5857
}

0 commit comments

Comments
 (0)