-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: Updated prepare-release.js
to not require changelog.json
#2106
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2106 +/- ##
=======================================
Coverage 97.21% 97.21%
=======================================
Files 251 251
Lines 42392 42392
=======================================
Hits 41210 41210
Misses 1182 1182
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of minor tweaks, but looks good to me.
Co-authored-by: James Sumners <jsumners@newrelic.com>
Description
The
bin/prepare-release.js
script has logic to generate a changelog in both markdown and json. The json gets written to changelog.json which is subsequently parsed and used to open a docs PR with front matter for the given release. This logic is only needed fornode-newrelic
. When we migrated all of our others repos we had to add a changelog.json which writes features, bugs and security fixes but it's never used. This PR provides the ability to optionally pass in a flag--changelog-json
to write out the changes to changelog.json which will only be used in node-newrelic, which you can see is being done in.github/workflows/prepare-release.yml
. Once this is merged we can update all external repos to remove thechangelog.json
How to Test
Related Issues
Closes #2105