mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
fix(cli): should output changelog build process
This commit is contained in:
@@ -5,7 +5,8 @@ import { ROOT } from '../common/constant';
|
||||
export function changelog(dist: string, cmd: { tag?: string }) {
|
||||
const tag = cmd.tag || 'v1.0.0';
|
||||
|
||||
exec(`
|
||||
exec(
|
||||
`
|
||||
basepath=${ROOT}
|
||||
|
||||
github_changelog_generator \
|
||||
@@ -19,5 +20,9 @@ export function changelog(dist: string, cmd: { tag?: string }) {
|
||||
--no-unreleased \
|
||||
--since-tag ${tag} \
|
||||
-o ${join(ROOT, dist)}
|
||||
`);
|
||||
`,
|
||||
{
|
||||
silent: false
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user