fix: github tag got the first instead of last (#216)

pull/217/head
kalsky 2019-01-02 05:09:03 -08:00 zatwierdzone przez Amio /
rodzic a3ead964ef
commit 997486ae9d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -184,7 +184,7 @@ const repoQueryBodies = {
'branches': 'refs(first: 0, refPrefix: "refs/heads/") { totalCount }',
'releases': 'releases { totalCount }',
'tags': 'refs(first: 0, refPrefix: "refs/tags/") { totalCount }',
'tag': `refs(first: 1, refPrefix: "refs/tags/") {
'tag': `refs(last: 1, refPrefix: "refs/tags/") {
edges {
node {
name