mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-23 23:59:02 -06:00
workflow: keep all packages' versions in sync to reduce cognitive load
This commit is contained in:
@@ -115,10 +115,8 @@ const release = async () => {
|
||||
'--dist-tag',
|
||||
distTag
|
||||
]
|
||||
// keep packages' minor version in sync
|
||||
if (releaseType !== 'patch') {
|
||||
lernaArgs.push('--force-publish')
|
||||
}
|
||||
// keep all packages' versions in sync
|
||||
lernaArgs.push('--force-publish')
|
||||
|
||||
if (cliOptions['local-registry']) {
|
||||
lernaArgs.push('--no-git-tag-version', '--no-commit-hooks', '--no-push', '--yes')
|
||||
|
||||
Reference in New Issue
Block a user