CI(semver): Add semantic versioning
EandrewJones opened this issue · 4 comments
Problem
We currently use semantic versioning but rely on developers to manually update versionings and change logs. This creates lots of room for error.
Solution
Enforce proper semantic versioning and change log updates via commitizen.
Needs more research. We do not necessarily want to manage version updates at the commit level. Is there a way to do this via commitizen or do we need an alternative?
Details
Commitizen is only part of the story here. We also need a means to enforce semantic versioning and implement CI tooling around that. Commitizen is a per-requisite as most automated semver tools expect commit messages to follow the conventional format and then parse them to figure out version bumps.
Then you need a tool like semantic release to benefit from automations around standardized commit messages.
Conversation
@Jyyjy It looks like you can bundle multiple commits into a single bump, it just all depends on how frequently you run your semantic release script and on which branch (i.e. CI challenge). See: https://blog.devgenius.io/automatic-semantic-versioning-and-commit-messages-semantic-release-and-commitizen-72e4eca5f194
We could break this up into multiple issues as conventional commits are a prereq for any automated solution.
Sorry to interrupt @EandrewJones but i think you should close this issue my recent PR has solved this issue.