build: generate changelog during release
This commit is contained in:
parent
9351264aff
commit
5c4833e204
@ -99,6 +99,9 @@ async function main() {
|
|||||||
console.log(`(skipped)`)
|
console.log(`(skipped)`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// generate changelog
|
||||||
|
await run(`yarn`, ['changelog'])
|
||||||
|
|
||||||
const { stdout } = await run('git', ['diff'], { stdio: 'pipe' })
|
const { stdout } = await run('git', ['diff'], { stdio: 'pipe' })
|
||||||
if (stdout) {
|
if (stdout) {
|
||||||
step('\nCommitting changes...')
|
step('\nCommitting changes...')
|
||||||
|
Loading…
Reference in New Issue
Block a user