@vitarx/release-cli 1.0.6 → 1.0.7

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.
Files changed (2) hide show
  1. package/dist/release.js +1 -1
  2. package/package.json +1 -1
package/dist/release.js CHANGED
@@ -183,7 +183,7 @@ async function publishPackage(pkgDir, packageManager, isDryRun = false, args, la
183
183
  // -------------------- Step 6: 提交更改到 git --------------------
184
184
  log.info(`📤 Committing changes...`);
185
185
  runCommand(`git add ${pkgPath}${isRootPackage ? ` ${args.changelogInfile || 'CHANGELOG.md'}` : ''}`, isDryRun);
186
- runCommand(`git commit -m "build(${pkg.name}): release ${args.changelogTagPrefix + newVersion}"`, isDryRun);
186
+ runCommand(`git commit -m "release(${pkg.name}): release ${args.changelogTagPrefix + newVersion}"`, isDryRun);
187
187
  if (isRootPackage) {
188
188
  log.info(`🏷 Tagging: ${args.changelogTagPrefix + newVersion}`);
189
189
  runCommand(`git tag -a ${args.changelogTagPrefix + newVersion} -m "Release ${newVersion}"`, isDryRun);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitarx/release-cli",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "A CLI tool for automated npm package release with workspace support",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",