mirror of https://github.com/vuejs/core.git
				
				
				
			build: don't wait for changelog edits when `--skip-prompts` or `--canary` is specified (#7965)
This commit is contained in:
		
							parent
							
								
									e3de9a6911
								
							
						
					
					
						commit
						543d6dbc94
					
				|  | @ -211,6 +211,7 @@ async function main() { | ||||||
|   await run(`pnpm`, ['run', 'changelog']) |   await run(`pnpm`, ['run', 'changelog']) | ||||||
| 
 | 
 | ||||||
|   // @ts-ignore
 |   // @ts-ignore
 | ||||||
|  |   if (!skipPrompts) { | ||||||
|     const { yes: changelogOk } = await prompt({ |     const { yes: changelogOk } = await prompt({ | ||||||
|       type: 'confirm', |       type: 'confirm', | ||||||
|       name: 'yes', |       name: 'yes', | ||||||
|  | @ -220,6 +221,7 @@ async function main() { | ||||||
|     if (!changelogOk) { |     if (!changelogOk) { | ||||||
|       return |       return | ||||||
|     } |     } | ||||||
|  |   } | ||||||
| 
 | 
 | ||||||
|   // update pnpm-lock.yaml
 |   // update pnpm-lock.yaml
 | ||||||
|   // skipped during canary release because the package names changed and installing with `workspace:*` would fail
 |   // skipped during canary release because the package names changed and installing with `workspace:*` would fail
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue