Is there a way to use GitVersion in monorepos? #4547
Replies: 2 comments 1 reply
-
Recommended reading: #1268, #2436 (comment), #2441 (comment), and finally #4420. Your example does not seem to ignore anything done in |
Beta Was this translation helpful? Give feedback.
-
@asbjornu, thank you for the references!
True. The trick I use is to leverage filtering on the pipeline level, so the pipelines which are used to version our projects are triggered only when files from the corresponding folders are actually changed. I admit that it's quite fragile, but I don't see a good alternative at the moment. Hopefully when Feature: Support ignoring (filtering) paths in git tree implementation is complete, it'll be possible to do what I need using only GitVersion configuration. I have a question about the #2436 (comment) comment from 2020. Is this statement still relevant? I mean that GitVersion won't support monorepo as a standard use case. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm wondering if GitVersion is used in monorepo scenarios. I mean the case when we develop many packages/modules under the same repository but want to keep separate versioning.
I've developed a toy example how this can be implemented and decided to ask if it'll make sense to extend the docs to describe this or another good approach for the use case I described.
Beta Was this translation helpful? Give feedback.
All reactions