diff --git a/packages/renderer/publish.sh b/packages/renderer/publish.sh index ff20a1f1f..3971be65a 100644 --- a/packages/renderer/publish.sh +++ b/packages/renderer/publish.sh @@ -5,7 +5,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "$SCRIPT_DIR" yarn run buildAssets npm version patch -yarn publish +npm publish NEW_VERSION=$(cat package.json | jq -r .version) git add -A diff --git a/packages/tools/release-cli.ts b/packages/tools/release-cli.ts index 04f386138..35f731425 100644 --- a/packages/tools/release-cli.ts +++ b/packages/tools/release-cli.ts @@ -20,7 +20,7 @@ async function main() { process.chdir(`${appDir}/build`); - await execCommand2('yarn publish'); + await execCommand2('npm publish'); await completeReleaseWithChangelog(changelogPath, newVersion, newTag, 'CLI', false); } diff --git a/packages/tools/release-plugin-generator.js b/packages/tools/release-plugin-generator.js index 638612712..978917134 100644 --- a/packages/tools/release-plugin-generator.js +++ b/packages/tools/release-plugin-generator.js @@ -18,7 +18,7 @@ async function main() { await setPackagePrivateField(packageFilePath, false); try { - await execCommandVerbose('yarn', ['publish']); + await execCommandVerbose('npm', ['publish']); } finally { await setPackagePrivateField(packageFilePath, true); }