Skip to content

Commit

Permalink
workflow: keep all packages' versions in sync to reduce cognitive load
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Oct 17, 2019
1 parent cbda149 commit 14ec578
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/release.js
Expand Up @@ -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')
Expand Down

0 comments on commit 14ec578

Please sign in to comment.