Dashboard - tag 최신순으로 정렬
This commit is contained in:
@@ -16,7 +16,8 @@ def get_commit_id():
|
||||
return repo.head.commit
|
||||
|
||||
def get_tags():
|
||||
return repo.tags
|
||||
latest_tags = sorted(repo.tags, key=lambda t: t.commit.committed_date, reverse=True)
|
||||
return latest_tags
|
||||
|
||||
def get_github_releases():
|
||||
headers = {'Authorization': f'Bearer {github_token}', 'Accept': 'application/vnd.github.v3+json'}
|
||||
|
||||
Reference in New Issue
Block a user