Skip to content

Commit

Permalink
chore: allow editing changelog before committing release
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 authored and IAmSSH committed Apr 29, 2023
1 parent 8cb49e6 commit 6cf3306
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/release.js
Expand Up @@ -210,6 +210,17 @@ async function main() {
step('\nGenerating changelog...')
await run(`pnpm`, ['run', 'changelog'])

// @ts-ignore
const { yes: changelogOk } = await prompt({
type: 'confirm',
name: 'yes',
message: `Changelog generated. Does it look good?`
})

if (!changelogOk) {
return
}

// update pnpm-lock.yaml
// skipped during canary release because the package names changed and installing with `workspace:*` would fail
if (!isCanary) {
Expand Down

0 comments on commit 6cf3306

Please sign in to comment.