mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-24 05:50:21 -05:00
workflow: auto commit changelog on release
This commit is contained in:
+4
-1
@@ -69,7 +69,10 @@ const release = async () => {
|
||||
return pkg
|
||||
}
|
||||
}
|
||||
}).pipe(fileStream)
|
||||
}).pipe(fileStream).on('close', async () => {
|
||||
await execa('git', ['add', '-A'], { stdio: 'inherit' })
|
||||
await execa('git', ['commit', '-m', `chore: ${version} changelog`], { stdio: 'inherit' })
|
||||
})
|
||||
}
|
||||
|
||||
release().catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user