Skip to content

Commit 14f4d36

Browse files
(CI) Release script tweaks and fixes (wix#2464)
* test no bootstrap && no double checkout * test no bootstrap * Publish 17.11.4-test.0 [ci skip] * force release when asked nicely :) * ugh Co-authored-by: undefined <undefined> Co-authored-by: wixmobile <[email protected]>
1 parent cf3657b commit 14f4d36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ci.publish.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function validatePrerequisites() {
1919
function projectSetup() {
2020
logSection('Project setup');
2121
exec.execSync(`git checkout ${process.env.BRANCH}`);
22-
exec.execSync(`lerna bootstrap --no-ci --loglevel verebose`);
22+
// exec.execSync(`lerna bootstrap --no-ci --loglevel verebose`);
2323
}
2424

2525
function publishToNpm(npmTag) {
@@ -35,7 +35,7 @@ function publishToNpm(npmTag) {
3535
log('SKIP NPM is set: Lerna-publishing without publishing to NPM');
3636
}
3737
const preid = npmTag === 'latest'? '': `--preid=${npmTag}`;
38-
exec.execSync(`lerna publish ${versionType} --yes --dist-tag ${npmTag} ${preid} ${dryRun ? '--no-push': ''} ${(dryRun || skipNpm) ? '--skip-npm' : ''} -m "Publish %v [ci skip]" --tag-version-prefix=''`);
38+
exec.execSync(`lerna publish ${versionType} --yes --dist-tag ${npmTag} ${preid} ${dryRun ? '--no-push': ''} ${(dryRun || skipNpm) ? '--skip-npm' : ''} -m "Publish %v [ci skip]" --tag-version-prefix='' --force-publish=detox`);
3939
}
4040

4141
module.exports = publishNewVersion;

0 commit comments

Comments
 (0)