Skip to content

Commit 2950396

Browse files
jhheidermxcl
authored andcommitted
fix github /releases
closes #296
1 parent f367017 commit 2950396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hooks/useGitHubAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async function *getVersionsLong({ user, repo, type }: GetVersionsOptions): Async
6464
page++
6565
const [json, rsp] = await GET2<GHRelease[]>(`https://api.github.com/repos/${user}/${repo}/releases?per_page=100&page=${page}`)
6666
if (!isArray(json)) throw new Error("unexpected json")
67-
for (const {tag_name, created_at, prerelease} of json) {
67+
for (const {name, tag_name, created_at, prerelease} of json) {
6868
if (prerelease) {
6969
console.debug("ignoring prerelease", tag_name)
7070
continue

0 commit comments

Comments
 (0)