How are changed packages detected in a monorepo? #2186
Unanswered
jonathantredway
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to understand if package changes are detected based on last release, or if the PR labels contribute to this detection. I'll give my example set up to illustrate:
Let's say I have a monorepo setup with 2 independently versioned packages (
package A
andpackage B
) and haveonlyGraduateWithReleaseLabel
set totrue
in my auto configauto shipit
to trigger a release, so I don't add therelease
label to the PRmain
and no release is created (as expected)package A
and want to release a major version update, so I add therelease
label.package A
get the major version release?Both packages will have changed since the last release, but only
package A
shows up in the diff against main when therelease
label was applied.I realize this might be somewhat of a lerna behavior question, but fits at the intersection of auto and lerna since auto is the one with knowledge of labels and is responsible for determining what the
since
should be when telling lerna to find changed packages.Beta Was this translation helpful? Give feedback.
All reactions