Skip to content

Commit

Permalink
Merge branch 'master' into DetoxNext
Browse files Browse the repository at this point in the history
  • Loading branch information
rotemmiz committed Nov 3, 2020
2 parents 5a01878 + dc49fde commit 5f9e09d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci.publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ function publishToNpm(npmTag) {
else if (skipNpm) {
log('SKIP NPM is set: Lerna-publishing without publishing to NPM');
}

exec.execSync(`lerna publish --cd-version "${versionType}" --yes --dist-tag ${npmTag} ${npmTag === 'latest'? '': '--preid='${npmTag}} --no-git-tag-version --no-push ${(dryRun || skipNpm) ? '--skip-npm' : ''}`);
const preid = npmTag === 'latest'? '': `--preid='${npmTag}`;
exec.execSync(`lerna publish --cd-version "${versionType}" --yes --dist-tag ${npmTag} ${preid} --no-git-tag-version --no-push ${(dryRun || skipNpm) ? '--skip-npm' : ''}`);
exec.execSync('git status');
}

Expand Down

0 comments on commit 5f9e09d

Please sign in to comment.