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

Add flag to switch to a semantic version ordering #1017

Open
cruelsmith opened this issue Sep 3, 2022 · 1 comment
Open

Add flag to switch to a semantic version ordering #1017

cruelsmith opened this issue Sep 3, 2022 · 1 comment

Comments

@cruelsmith
Copy link

Is your feature request related to a problem? Please describe.
Projects that maintaining multiple major / minor versions at the same time end up with semantic unordered changelogs with not working diffs like v4.0.0 to v3.5.10 because v3.5.10 has been released after v4.0.0.

Describe the solution you'd like
Flag to switch to a semantic version ordering.

Current ordering based on tag date: v3.5.9, v4.0.0, v3.5.10, v4.1.0
Wanted ordering based on semantic Versioning: v3.5.9, v3.5.10, v4.0.0, v4.1.0

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
https://github.com/github-changelog-generator/github-changelog-generator/blob/master/lib/github_changelog_generator/generator/generator_tags.rb#L12

@yykamei
Copy link

yykamei commented Sep 12, 2022

OK, something like --tag-order ORDER, of which the ORDER is either of date or version, is good? I agree with you 👍

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