@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.
- package/dist/release.js +1 -1
- 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 "
|
|
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);
|