Reputation: 6472
I am following the git flow model. feature->develop->master
.
I am also using lerna
to manage multiple packages in the same repo under the packages/
directory. as I have 5 packages.
the problem is the following: what if develop branch contains updates about 2 packages. This way, when I merge to master
, I am not sure what tag to create. package1-v1.0.1
or package2-v1.0.1
or what exactly ?
Upvotes: 2
Views: 1566
Reputation: 1327204
You would need tags without mention of the specific package instance:
v1.0.1
That unique tag would reference a merge commit in which you can see which packages were included.
But since your project manages multiple packages, you tag should simply reference the project (as a whole) progression. Not individual packages, since one or several ones can be included at any time in those merges.
Upvotes: 1