|
|
@@ -11,21 +11,21 @@
|
|
|
|
|
|
// This scripts preparing all packages to release:
|
|
|
// - checking what should be released,
|
|
|
-// - updates version of all dependencies for all packages,
|
|
|
// - validates the whole process (whether the changes could be published),
|
|
|
// - tagging new versions.
|
|
|
//
|
|
|
// You can test the whole process using `dry-run` mode. It won't change anything in the project
|
|
|
// and any repository.
|
|
|
//
|
|
|
-// This task must be called before: `yarn run release:publish`.
|
|
|
+// This task must be called before: `npm run release:publish`.
|
|
|
//
|
|
|
// Use:
|
|
|
-// yarn run release:bump-version --dry-run
|
|
|
+// npm run release:bump-version --dry-run
|
|
|
|
|
|
require( '@ckeditor/ckeditor5-dev-env' )
|
|
|
.bumpVersions( {
|
|
|
cwd: process.cwd(),
|
|
|
packages: 'packages',
|
|
|
+ releaseBranch: 'release',
|
|
|
dryRun: process.argv.includes( '--dry-run' )
|
|
|
} );
|