diff --git a/scripts/release.js b/scripts/release.js index 21f26a01f4..21abec5863 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -113,7 +113,10 @@ const release = async () => { console.log(`lerna ${releaseArguments.join(' ')}`) await execa(require.resolve('lerna/bin/lerna'), releaseArguments, { stdio: 'inherit' }) + await execa('yarn', ['changelog']) + await execa('git', ['add', '-A'], { stdio: 'inherit' }) + await execa('git', ['commit', '-m', `chore: ${version} changelog`], { stdio: 'inherit' }) } release().catch(err => {