wisdom 14.1.0 → 14.1.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.
package/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2023.03.07, v14.1.1
2
+
3
+ fix:
4
+ - 6c64968 commit name
5
+
1
6
  2023.03.07, v14.1.0
2
7
 
3
8
  feature:
package/lib/wisdom.js CHANGED
@@ -73,7 +73,7 @@ async function publish({version, info, emitter, dryRun, force}) {
73
73
  let type = '--';
74
74
  let nextVersion;
75
75
 
76
- if (!version.indexOf('v')) {
76
+ if (version.startsWith('v')) {
77
77
  nextVersion = version.slice(1);
78
78
  type += `v${version}`;
79
79
  } else if (/major|minor|patch/.test(version)) {
@@ -85,7 +85,7 @@ async function publish({version, info, emitter, dryRun, force}) {
85
85
  return;
86
86
 
87
87
  const cmd = rendy(Cmd, {
88
- version,
88
+ version: nextVersion,
89
89
  commitType: parseCommitType(info.commitType),
90
90
  branch: info.branch || 'master',
91
91
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wisdom",
3
- "version": "14.1.0",
3
+ "version": "14.1.1",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "configurable publish releases to github and npm",
6
6
  "homepage": "http://github.com/coderaiser/wisdom",