Skip to content

Commit 3c5bd30

Browse files
committed
workflow: force publish @vue/cli package whenever the version marker published
fixes the `Update available` message
1 parent ebcc67b commit 3c5bd30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/release.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ const release = async () => {
102102
// keep packages' minor version in sync
103103
if (releaseType !== 'patch') {
104104
lernaArgs.push('--force-publish')
105+
} else {
106+
lernaArgs.push('--force-publish=@vue/cli')
105107
}
106108
await execa(require.resolve('lerna/cli'), lernaArgs, { stdio: 'inherit' })
107109
}

0 commit comments

Comments
 (0)