Skip to content

Commit

Permalink
chore: fix sort
Browse files Browse the repository at this point in the history
  • Loading branch information
yeshan333 committed May 8, 2024
1 parent 0ba54c4 commit b2d83fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 440 deletions.
5 changes: 3 additions & 2 deletions assets/get_all_otp_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def get_all_version():
if __name__ == "__main__":
update_all_version_from_github_api()
versions = list(get_all_version())
versions = versions.sort()
versions.sort(reverse=True)
print(versions)
with open("versions.txt", 'w') as file:
for version in versions.reverse():
for version in versions:
file.write(version + '\n')
Loading

0 comments on commit b2d83fe

Please sign in to comment.