Skip to content

Commit 14ec578

Browse files
committed
workflow: keep all packages' versions in sync to reduce cognitive load
1 parent cbda149 commit 14ec578

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/release.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,8 @@ const release = async () => {
115115
'--dist-tag',
116116
distTag
117117
]
118-
// keep packages' minor version in sync
119-
if (releaseType !== 'patch') {
120-
lernaArgs.push('--force-publish')
121-
}
118+
// keep all packages' versions in sync
119+
lernaArgs.push('--force-publish')
122120

123121
if (cliOptions['local-registry']) {
124122
lernaArgs.push('--no-git-tag-version', '--no-commit-hooks', '--no-push', '--yes')

0 commit comments

Comments
 (0)