1
0
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,
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