-
Notifications
You must be signed in to change notification settings - Fork 663
Closed
Description
Consider the following scenario:
Repository A contains sub-repository B.
Repository A contains solution C and project D.
Repository B contains project E.
Solution C references project D and project E.
Both D and E have GitVersionTask installed to them.
When I run GitVersion commandline, from the location of either D or E, I get version numbers that I want: D gets version numbers from A, and E gets version numbers from B. But when I build C, both D and E get version metadata for A.
Looking into the code, I think I see why this is happening: GitVersionTask uses the SolutionDirectory to make its calculations. Maybe this is intended, but it seems like the ProjectDirectory would make more sense?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels