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

Previous release tag check orders by date #87

Open
benedeki opened this issue Oct 9, 2024 · 0 comments
Open

Previous release tag check orders by date #87

benedeki opened this issue Oct 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@benedeki
Copy link

benedeki commented Oct 9, 2024

Describe the bug

This is not a Release note generator bug exactly. But present in the example usage.
When checking the tag for release version the previous tags are ordered by date, not by the version number. This causes problems when a bugfix of earlier but still supported version is release after the latest actual version.
The code causing it can be found here.

To Reproduce

Steps to reproduce the behavior OR commands run:

  1. Release version 1.0.0
  2. Release version 1.1.0
  3. Release version 1.0.1
  4. Try to release version 1.2,0
  5. See error

Expected behavior

The highest version is taken into consideration, not the latest.

@benedeki benedeki added the bug Something isn't working label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant