From febd8145013778da78b20c7ea6ea57ae72f78aaf Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 10 Dec 2021 20:14:59 +0100 Subject: [PATCH] wtf --- .github/workflows/publish-release.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 7c557d1..4737104 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -36,12 +36,9 @@ jobs: owner: context.repo.owner, repo: context.repo.repo }) - console.log('RELS:') - console.log(rels) - console.log('DATA:') - console.log(rels.data) - for (var r in rels.data) { - console.log('REL:') + console.log(rels.data) // is [ { ... }, { ... } ] + for (const r of rels.data) { + console.log('REL:') // is 0, 1 MEH?! console.log(r) if (r.tag_name === tag) { rel = r