Przeglądaj źródła

Merge pull request #7284 from ckeditor/i/7271

Internal (ckeditor5): Use the `release` branch for release. See #7271.
Marek Lewandowski 5 lat temu
rodzic
commit
9dae2cf9e2
2 zmienionych plików z 5 dodań i 5 usunięć
  1. 3 3
      scripts/release/bump-versions.js
  2. 2 2
      scripts/release/publish.js

+ 3 - 3
scripts/release/bump-versions.js

@@ -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' )
 	} );

+ 2 - 2
scripts/release/publish.js

@@ -16,10 +16,10 @@
 //
 // Note: This task based on versions published on NPM and GitHub. If something went wrong, you can call this script one more time.
 //
-// This task should be executed after: `yarn run release:bump-version`.
+// This task should be executed after: `npm run release:bump-version`.
 //
 // Use:
-// yarn run release:publish --dry-run
+// npm run release:publish --dry-run
 
 /* eslint-disable max-len */