Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

CI(semver): Add semantic versioning #447

Open
EandrewJones opened this issue May 7, 2024 · 4 comments
Open

CI(semver): Add semantic versioning #447

EandrewJones opened this issue May 7, 2024 · 4 comments

Comments

@EandrewJones
Copy link
Contributor

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.

@EandrewJones
Copy link
Contributor Author

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?

@EandrewJones
Copy link
Contributor Author

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.

@Suvendu-UI
Copy link
Contributor

Sorry to interrupt @EandrewJones but i think you should close this issue my recent PR has solved this issue.

@EandrewJones
Copy link
Contributor Author

EandrewJones commented Jul 15, 2024 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants