Merge branch 'master' into intl

pull/2581/head
drafish 2 years ago
commit d8f782335d
  1. 19
      build-changelog.js
  2. 2
      package.json

@ -7,26 +7,25 @@ let data = ''
const prCount = inDone.filter((card) => { const prCount = inDone.filter((card) => {
return card.node.content.url return card.node.content.url
}).length }).length
console.log(prCount, 'Prs\n') console.log(prCount, 'PRs found!\n')
data = prCount + ' Prs\n\n' data = prCount + ' PRs found!\n\n'
for (let card of inDone) { for (let card of inDone) {
if (card.node.content.url && card.node.content.merged) { if (card.node.content.url && card.node.content.merged) {
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') console.log('change-log.txt updated')
fs.writeFileSync('./change-log.txt', data) fs.writeFileSync('./change-log.txt', data)
/* /*
- go to https://docs.github.com/en/graphql/overview/explorer - Go to https://docs.github.com/en/graphql/overview/explorer
- set the correct project id - Set the correct project id
- run the query (be careful, this only returns the first 100 elements) - Run the below mentioned query (be careful, this only returns the first 100 elements)
- save the JSON content as done.json - Save the JSON content as change-log.json
- run this script - Run this script i.e. build-changelog.js
- get the result in the file done.txt - Use the result from the file change-log.txt to write changelog on Github release
*/ */
/* /*

@ -1,6 +1,6 @@
{ {
"name": "remix-project", "name": "remix-project",
"version": "0.27.0-dev", "version": "0.28.0-dev",
"license": "MIT", "license": "MIT",
"description": "Ethereum Remix Monorepo", "description": "Ethereum Remix Monorepo",
"keywords": [ "keywords": [

Loading…
Cancel
Save