fix(github): order tags by commit date (#485)

Fixes #484
pull/492/head
Dario Vladović 2021-02-04 15:11:05 +01:00 zatwierdzone przez GitHub
rodzic d85ca4e60d
commit aa0b7533e9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -278,7 +278,7 @@ const makeRepoQuery = (topic, owner, repo, restArgs) => {
'branches': 'refs(first: 0, refPrefix: "refs/heads/") { totalCount }',
'releases': 'releases { totalCount }',
'tags': 'refs(first: 0, refPrefix: "refs/tags/") { totalCount }',
'tag': `refs(last: 1, refPrefix: "refs/tags/") {
'tag': `refs(last: 1, refPrefix: "refs/tags/", orderBy: { field: TAG_COMMIT_DATE, direction: ASC }) {
edges {
node {
name