This commit is contained in:
Stephan 2021-12-10 20:14:59 +01:00
parent 91716319e5
commit febd814501

View File

@ -36,12 +36,9 @@ jobs:
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo repo: context.repo.repo
}) })
console.log('RELS:') console.log(rels.data) // is [ { ... }, { ... } ]
console.log(rels) for (const r of rels.data) {
console.log('DATA:') console.log('REL:') // is 0, 1 MEH?!
console.log(rels.data)
for (var r in rels.data) {
console.log('REL:')
console.log(r) console.log(r)
if (r.tag_name === tag) { if (r.tag_name === tag) {
rel = r rel = r