File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -342,8 +342,11 @@ async function main() {
342
342
// https://github.com/lerna/lerna/tree/master/commands/version#--exact
343
343
// We use exact to ensure that our consumers always use the appropriate
344
344
// versions published with each other
345
+ // --force-publish ensures that all packages release a new version regardless
346
+ // of whether changes have occurred in them
347
+ // --yes skips the prompt for confirming the version
345
348
nextVersion = retrieveNextVersion ( ) ;
346
- execWithLog ( `lerna version ${ nextVersion } --exact` , true ) ;
349
+ execWithLog ( `lerna version ${ nextVersion } --force-publish -- exact --yes ` , true ) ;
347
350
console . log ( `✅ ` + chalk . cyan ( `Successfully Versioned ${ nextVersion } ` ) ) ;
348
351
} else {
349
352
console . log ( '⚠️ ' + chalk . grey ( `Skipping Versioning` ) ) ;
You can’t perform that action at this time.
0 commit comments