diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b78aaa7..d72d13e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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` diff --git a/clean-release.config.ts b/clean-release.config.ts index a25a7ec..a5bda17 100644 --- a/clean-release.config.ts +++ b/clean-release.config.ts @@ -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}`