Skip to content

Commit

Permalink
fix: vscode plugin publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Oct 16, 2020
1 parent ec92f1c commit 73d735f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -14,6 +14,6 @@

## release

Make sure you have the permission to execute `git push` and `npm publish` first.
Make sure you have the permission to execute `git push`, `npm publish` and `vsce publish` first.

`yarn release`
2 changes: 1 addition & 1 deletion clean-release.config.ts
Expand Up @@ -15,7 +15,7 @@ const config: Configuration = {
postScript: ({ dir, tag, version, effectedWorkspacePaths = [] }) => [
...effectedWorkspacePaths.map((w) => w.map((e) => {
if (e === 'packages/vscode') {
return tag ? undefined : `cd "${dir}/${e}" && yarn install && rm -f "${dir}/yarn.lock" && vsce publish ${version}`
return tag ? undefined : `cd "${dir}/${e}" && yarn install --registry=https://registry.npmjs.org/ && rm -f "${dir}/yarn.lock" && vsce publish ${version}`
}
return tag
? `npm publish "${dir}/${e}" --access public --tag ${tag}`
Expand Down

0 comments on commit 73d735f

Please sign in to comment.