workflow: force publish @vue/cli package whenever the version marker published

fixes the `Update available` message
This commit is contained in:
Haoqun Jiang
2019-05-26 00:14:30 +08:00
parent ebcc67bc50
commit 3c5bd30827

View File

@@ -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' })
}