Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version inference strategy based on commit messages #259

Open
haikalrios opened this issue Feb 29, 2024 · 1 comment
Open

version inference strategy based on commit messages #259

haikalrios opened this issue Feb 29, 2024 · 1 comment

Comments

@haikalrios
Copy link

haikalrios commented Feb 29, 2024

Does Nebula work with a version inference strategy based on commit messages (Conventional Commits )? For instance, if the commits made after the last version tag begin with "BREAKING CHANGE:", does it increment the major version, If not, does it evaluate if the commit message starts with "feat" to increment the minor version, If not, does it evaluate if the commit message starts with "fix" to increment the patch version, Otherwise, does not it increment nothing

@DanielThomas
Copy link
Contributor

It doesn't, but optional support for conventional commits is an interesting idea. We're already walking the commits to find the nearest tag.

We don't have enough utility for that to implement it ourselves, because the majority of our use of this is pre-release version semantics. Our release versions internally are almost all continuously incremented and do not carry semantic meaning, but we'd certainly consider a well tested PR if someone was inclined.

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

No branches or pull requests

2 participants