We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--skip-prompts
--canary
1 parent e3de9a6 commit 543d6dbCopy full SHA for 543d6db
scripts/release.js
@@ -211,14 +211,16 @@ async function main() {
211
await run(`pnpm`, ['run', 'changelog'])
212
213
// @ts-ignore
214
- const { yes: changelogOk } = await prompt({
215
- type: 'confirm',
216
- name: 'yes',
217
- message: `Changelog generated. Does it look good?`
218
- })
+ if (!skipPrompts) {
+ const { yes: changelogOk } = await prompt({
+ type: 'confirm',
+ name: 'yes',
+ message: `Changelog generated. Does it look good?`
219
+ })
220
- if (!changelogOk) {
221
- return
+ if (!changelogOk) {
222
+ return
223
+ }
224
}
225
226
// update pnpm-lock.yaml
0 commit comments