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

Adds new method to versions #17

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Adds new method to versions #17

merged 1 commit into from
Oct 25, 2024

Conversation

marachimeno
Copy link
Contributor

@marachimeno marachimeno commented Oct 24, 2024

🚪 Why?

To be able to find the next version when given a specific version.

We found a use-case when trying to get the next version to generate the changelog.
In the changelog, when we want to generate the changelog for version 2025-01-01, for example, we would need to get the version changes from version 2024-10-01, so we made this method in order to make it dynamic so we do not have to manually change these methods and you can give the changelog generator any version to generate its changelog.

🔑 What?

Adds new method that, given a version, sorts the versions array by name and finds the next newer version.

@marachimeno marachimeno marked this pull request as ready for review October 24, 2024 15:31
@marachimeno marachimeno force-pushed the add-method-to-versions branch from b8900d0 to 86ccb91 Compare October 24, 2024 15:31
@marachimeno marachimeno force-pushed the add-method-to-versions branch from 86ccb91 to adb9c94 Compare October 25, 2024 08:30
@atd atd merged commit acd786a into main Oct 25, 2024
1 check passed
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.

2 participants