From ee3eb33c2031379c7057250a14e4dd9a77bba0e8 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 13 Dec 2023 09:43:18 +0100 Subject: [PATCH] chore: use lerna pubish from-package To avoid bumping the versions --- scripts/ci-release.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ci-release.mjs b/scripts/ci-release.mjs index a9d3237bc..fc919e435 100644 --- a/scripts/ci-release.mjs +++ b/scripts/ci-release.mjs @@ -108,7 +108,7 @@ async function dryRunMode() { try { await execa( 'npx', - ['lerna', 'publish', `--registry=${registryUrl}`, '--no-push', '--no-git-tag-version', '--no-changelog', '--yes'], + ['lerna', 'publish', 'from-package', `--registry=${registryUrl}`, '--no-push', '--no-git-tag-version', '--no-changelog', '--yes'], { stdin: process.stdin } ) .pipeStdout(process.stdout) @@ -141,7 +141,7 @@ async function prodMode() { try { await execa('npx', - ['lerna', 'publish', `--otp=${totpCode}`, '--no-push', '--no-git-tag-version', '--no-changelog', '--yes'], + ['lerna', 'publish', 'from-package', `--otp=${totpCode}`, '--no-push', '--no-git-tag-version', '--no-changelog', '--yes'], { stdin: process.stdin} ) .pipeStdout(process.stdout)