build: generate changelog during release

This commit is contained in:
Evan You 2020-01-02 18:12:54 -05:00
parent 9351264aff
commit 5c4833e204

View File

@ -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...')