Skip to content

Commit

Permalink
Release.py: sort releases by date
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Casanovas committed Jul 29, 2019
1 parent 83f3605 commit 01e33ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ def _get_releases():
release_formats = ' | '.join(release_formats)
releases.append((version, published_on_date, release_formats))

releases.sort(key=lambda x: x[1])

return releases


Expand Down

0 comments on commit 01e33ab

Please sign in to comment.