Using tag prefix’s in a monorepo #502
-
Is it possible to use components to generate unique component tags that version independently in each directory? I have 5-6 projects in a directory. I want to use changie to version but each project in the repo should be setting a prefixed tag output so I can move those independently. The version tag should increment for each independently. I didn’t see any support for pulling the specific semver using something like |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
Components are simply a header in a version, so there would be no way to separate them from the versions they are nested in. Changie latest works by searching the changes directory, so for anything like what you are suggesting to work it would need to either look in a specific directory or some how filter files. Is your goal to make one shared changelog for all directories? Do you have any example repos or maybe a layout I can review? I have not thought much about how to use changie in monorepos where the directories are versioned separately. One issue might be that prefixed tags are not proper semver and so there might be issues there. |
Beta Was this translation helpful? Give feedback.
-
We were talking about this today with @grouville (same context as @marcosnils - #506 (comment)) and either solution seems simple enough to me:
WDYT @marcosnils, would either of the above be enough in a monorepo? |
Beta Was this translation helpful? Give feedback.
-
Implementation so far seems great! Here's some feedback @miniscruff.
|
Beta Was this translation helpful? Give feedback.
Created an issue from my design above, no ETA on timing but it is at least visible in an issue.
#512
Edit: Release in v1.13.0 https://github.com/miniscruff/changie/releases/tag/v1.13.0