Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] ensure we publish all packages regardless of changes #6429

Merged
merged 1 commit into from
Sep 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion bin/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,11 @@ async function main() {
// https://github.com/lerna/lerna/tree/master/commands/version#--exact
// We use exact to ensure that our consumers always use the appropriate
// versions published with each other
// --force-publish ensures that all packages release a new version regardless
// of whether changes have occurred in them
// --yes skips the prompt for confirming the version
nextVersion = retrieveNextVersion();
execWithLog(`lerna version ${nextVersion} --exact`, true);
execWithLog(`lerna version ${nextVersion} --force-publish --exact --yes`, true);
console.log(`✅ ` + chalk.cyan(`Successfully Versioned ${nextVersion}`));
} else {
console.log('⚠️ ' + chalk.grey(`Skipping Versioning`));
Expand Down