mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-08 16:08:27 -06:00
workflow: force publish @vue/cli package whenever the version marker published
fixes the `Update available` message
This commit is contained in:
@@ -102,6 +102,8 @@ const release = async () => {
|
||||
// keep packages' minor version in sync
|
||||
if (releaseType !== 'patch') {
|
||||
lernaArgs.push('--force-publish')
|
||||
} else {
|
||||
lernaArgs.push('--force-publish=@vue/cli')
|
||||
}
|
||||
await execa(require.resolve('lerna/cli'), lernaArgs, { stdio: 'inherit' })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user