Skip to content

Commit

Permalink
chore: use lerna pubish from-package
Browse files Browse the repository at this point in the history
To avoid bumping the versions
  • Loading branch information
v1v authored and devcorpio committed Dec 27, 2023
1 parent eef3222 commit ee3eb33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci-release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit ee3eb33

Please sign in to comment.