From 5c4833e204ca0b73b9742c59b2d097c5f02d6ca5 Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 2 Jan 2020 18:12:54 -0500 Subject: [PATCH] build: generate changelog during release --- scripts/release.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/release.js b/scripts/release.js index af87dbaa..78c49b0a 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -99,6 +99,9 @@ async function main() { console.log(`(skipped)`) } + // generate changelog + await run(`yarn`, ['changelog']) + const { stdout } = await run('git', ['diff'], { stdio: 'pipe' }) if (stdout) { step('\nCommitting changes...')