pull/2935/head
yann300 2 years ago
parent d369f0f9bb
commit ec6d2a2058
  1. 2
      build-changelog.js

@ -11,13 +11,13 @@ console.log(prCount, 'Prs\n')
data = prCount + ' Prs\n\n' data = prCount + ' Prs\n\n'
for (let card of inDone) { for (let card of inDone) {
if (card.node.content.url) { if (card.node.content.url) {
console.log(card.node.content.title, `- ${card.node.content.url}\n`)
data += ` - [${card.node.content.title}](${card.node.content.url}) (@${card.node.content.author.login})\n` data += ` - [${card.node.content.title}](${card.node.content.url}) (@${card.node.content.author.login})\n`
data += ` participants: ${card.node.content.participants.edges.map((p) => { return `@(${p.node.login})` })}` data += ` participants: ${card.node.content.participants.edges.map((p) => { return `@(${p.node.login})` })}`
data += '\n\n' data += '\n\n'
} }
} }
console.log('change-log.txt updated')
fs.writeFileSync('./change-log.txt', data) fs.writeFileSync('./change-log.txt', data)
/* /*

Loading…
Cancel
Save