@ckeditor/ckeditor5-dev-release-tools 45.0.0 → 45.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,9 +16,10 @@ const { toUnix } = upath;
16
16
  * @param {string} options.version The commit will contain this param in its message and the tag will have a `v` prefix.
17
17
  * @param {Array.<string>} options.files Array of glob patterns for files to be added to the release commit.
18
18
  * @param {string} [options.cwd=process.cwd()] Current working directory from which all paths will be resolved.
19
+ * @param {boolean} [options.skipCi=true] Whether to add the "[skip ci]" suffix to the commit message.
19
20
  * @returns {Promise}
20
21
  */
21
- export default async function commitAndTag( { version, files, cwd = process.cwd() } ) {
22
+ export default async function commitAndTag( { version, files, cwd = process.cwd(), skipCi = true } ) {
22
23
  const normalizedCwd = toUnix( cwd );
23
24
  const filePathsToAdd = await glob( files, { cwd: normalizedCwd, absolute: true, nodir: true } );
24
25
 
@@ -38,6 +39,6 @@ export default async function commitAndTag( { version, files, cwd = process.cwd(
38
39
  return;
39
40
  }
40
41
 
41
- await git.commit( `Release: v${ version }.`, filePathsToAdd );
42
+ await git.commit( `Release: v${ version }.${ skipCi ? ' [skip ci]' : '' }`, filePathsToAdd );
42
43
  await git.addTag( `v${ version }` );
43
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-dev-release-tools",
3
- "version": "45.0.0",
3
+ "version": "45.0.1",
4
4
  "description": "Tools used for releasing CKEditor 5 and related packages.",
5
5
  "keywords": [],
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -22,7 +22,7 @@
22
22
  "lib"
23
23
  ],
24
24
  "dependencies": {
25
- "@ckeditor/ckeditor5-dev-utils": "^45.0.0",
25
+ "@ckeditor/ckeditor5-dev-utils": "^45.0.1",
26
26
  "@octokit/rest": "^21.0.0",
27
27
  "chalk": "^5.0.0",
28
28
  "cli-columns": "^4.0.0",