Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add --force-publish to lerna to sync releases #1898

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

thymikee
Copy link
Member

@thymikee thymikee commented Apr 4, 2023

Summary:

By default Lerna will only upgrade and publish the packages that were affected by recent changes. However this proves to be tricky, with different CLI sub-packages following different release schedule. To make it less confusing for anyone consuming the packages, this PR adds --force-publish flag to the lerna publish command, so that all packages are synced even when only one was upgraded.

This goes in line with the recently added exact setting to the lerna.json, which plays better with the way this CLI is consumed by React Native—through exact versions.

Test Plan:

Doing it locally and now want to upstream it to the command.

@thymikee thymikee requested a review from adamTrz as a code owner April 4, 2023 08:51
@thymikee thymikee merged commit f599671 into main Apr 4, 2023
@thymikee thymikee deleted the publish-adjustments branch April 4, 2023 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant