-
Notifications
You must be signed in to change notification settings - Fork 325
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
Sort tags by date before fetching release notes #134
Comments
@alexcanessa you can use the github graphql api to get the result ordered by date. For example: |
@alexcanessa are you working on this issue? |
I've actually started looking into it, but not deeply. You're more than welcome to have a look. Keep in mind that there is a function that gets the dates of the tags, so far used for other functionality but that could easily be implemented before in the flow and avoid this bug: github-release-notes/lib/src/Gren.js Lines 332 to 342 in 3e6b2e4
|
It's look there is already a function for sorting by dates : github-release-notes/lib/src/Gren.js Lines 856 to 858 in 3e6b2e4
I think the real problem is that the paging not working, as I reported in #132 |
I think that this issue is less important (after The PR for #132 will be approved) |
Fixed in 0.17.1 |
GitHub APIs tags returns a list of tags ordered by name (as
git tag --list
does).We have to order them per date or the functionality will break.
The text was updated successfully, but these errors were encountered: