Commit 0bcc82eb authored by yutian's avatar yutian

新增

parent 629c321f
......@@ -129,6 +129,7 @@
}
],
"dependencies": {
"cross-spawn": "^7.0.3"
"cross-spawn": "^7.0.3",
"kit_logger": "^1.0.2"
}
}
......@@ -87,19 +87,14 @@ async function release() {
// Git Tag
// Push
logStep('bump version with lerna version');
const conventionalGraduate = args.conventionalGraduate
? ['--conventional-graduate'].concat(
const conventionalGraduate = args.conventionalGraduate ? ['--conventional-graduate'].concat(
Array.isArray(args.conventionalGraduate) ? args.conventionalGraduate.join(',') : [],
)
: [];
const conventionalPrerelease = args.conventionalPrerelease
? ['--conventional-prerelease'].concat(
) : [];
const conventionalPrerelease = args.conventionalPrerelease ? ['--conventional-prerelease'].concat(
Array.isArray(args.conventionalPrerelease) ? args.conventionalPrerelease.join(',') : [],
)
: [];
) : [];
await exec(
lernaCli,
[
lernaCli, [
'version',
'--exact',
// '--no-commit-hooks',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment