Multiple libs use the same git tags #285
-
Hi! I've recently migrated my project to NX, and I have several libs that I release independently. Any idea how do I align everything to work as expected? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, Actually, semver use the Git tags to bump a library (eg: analyzing commits from the previous version to define the new version), regardless of using sync or independent mode. The package.json "version" property is not used to read the actual version, this means that you need to tag your libraries to work with semver. eg:
Maybe the sync mode would be better for your use case? Let me know if I can help you more. |
Beta Was this translation helpful? Give feedback.
Hi,
Actually, semver use the Git tags to bump a library (eg: analyzing commits from the previous version to define the new version), regardless of using sync or independent mode. The package.json "version" property is not used to read the actual version, this means that you need to tag your libraries to work with semver.
eg:
Maybe the sync mode would be better for your use case? Let me know if I can help you more.