github-tools / github-release-notes

Node module to create a release or a changelog from a tag and uses issues or commits to creating the release notes.
https://github-tools.github.io/github-release-notes/
GNU General Public License v3.0
880 stars 325 forks source link

Error when using `prs-with-issues` #320

Open MrHinsh opened 2 months ago

MrHinsh commented 2 months ago

Using prs-with-issues as the data source resulted in an error.

gren changelog --generate --override --changelog-filename=RELEASE_NOTES.md --tags=v15.1.1-Preview.13..v15.0.4 --data-source=prs-with-issues

image

Getting gren config from local file C:\Users\MartinHinshelwoodNKD\source\repos\azure-devops-migration-tools\.grenrc.yml

🤖  - Generate changelog file:
===================================
√ Releases found: 30
√ Tags found: v15.1.1-Preview.13, v15.0.4
/ Getting all merged pull requestsTypeError: Cannot read properties of null (reading 'match')
    at _context17.t1 (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\dist\Gren.js:1760:59)
    at Array.map (<anonymous>)
    at Gren._callee17$ (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\dist\Gren.js:1773:77)
    at tryCatch (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\node_modules\regenerator-runtime\runtime.js:62:40)
    at Generator.invoke [as _invoke] (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\node_modules\regenerator-runtime\runtime.js:296:22)
    at prototype.<computed> [as next] (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\node_modules\regenerator-runtime\runtime.js:114:21)
    at step (C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30)
    at C:\Users\MartinHinshelwoodNKD\AppData\Roaming\npm\node_modules\github-release-notes\node_modules\babel-runtime\helpers\asyncToGenerator.js:28:13
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
/ Getting all merged pull requests

Never finishes