Skip to content

Conversation

dd
Copy link

@dd dd commented Apr 6, 2025

Added a new CLI option: --only-stable

When enabled, this option filters the changelog to include only stable releases — i.e., versions that don’t contain pre-release markers like: alpha, beta, rc, dev

This is useful if you want a clean changelog that reflects only production-ready versions.

For example, when developing a new feature, several intermediate versions may be released, such as 2.0.0-dev.1, 2.0.0-dev.2, 2.0.0-dev.3, 2.0.0-rc.1, etc. The repository will likely contain tags for all of these versions. As a result, using gitmoji-changelog will add each of them to the CHANGELOG as a full release, which might not be desirable. I want my CHANGELOG to exclude such intermediate versions and remain cleaner. This option makes that possible.

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

Successfully merging this pull request may close these issues.

1 participant