Files
kubespray/scripts/list_releases.graphql
2025-01-14 10:41:33 +01:00

30 lines
524 B
GraphQL

query($repoWithReleases: [ID!]!, $repoWithTags: [ID!]!) {
with_releases: nodes(ids: $repoWithReleases) {
... on Repository {
nameWithOwner
releases(first: 100) {
nodes {
tagName
isPrerelease
releaseAssets {
totalCount
}
}
}
}
}
with_tags: nodes(ids: $repoWithTags) {
... on Repository {
nameWithOwner
refs(refPrefix: "refs/tags/", last: 100) {
nodes {
name
}
}
}
}
}